[ https://issues.apache.org/jira/browse/SPARK-18085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152409#comment-16152409 ]
jincheng commented on SPARK-18085: ---------------------------------- *{color:red}Here is a picture of how it looks{color}* !screenshot-1.png! {color:red}*and I also tried in spark 2.0.it looks like this *{color} !screenshot-2.png! the code is located at : org.apache.spark.ui.jobs.TaskPagedTable.table(StagePage.scala:108) and it calls pagetable.pageData(PagedTable.scala:56) and throws an exception {code:java} def pageData(page: Int): PageData[T] = { val totalPages = (dataSize + pageSize - 1) / pageSize if (page <= 0 || page > totalPages) { throw new IndexOutOfBoundsException( s"Page $page is out of range. Please select a page number between 1 and $totalPages.") } val from = (page - 1) * pageSize val to = dataSize.min(page * pageSize) PageData(totalPages, sliceData(from, to)) } {code} it looks page=1 but totalPages = 0. so datasize + pagesize = 1. as {code:java} private[ui] abstract class PagedDataSource[T](val pageSize: Int) { if (pageSize <= 0) { throw new IllegalArgumentException("Page size must be positive") } {code} we did not meet this exception. so datasize = 0. this matches the case that no completed tasks, but instead all failed tasks should displayed just like spark 2.0. > SPIP: Better History Server scalability for many / large applications > --------------------------------------------------------------------- > > Key: SPARK-18085 > URL: https://issues.apache.org/jira/browse/SPARK-18085 > Project: Spark > Issue Type: Umbrella > Components: Spark Core, Web UI > Affects Versions: 2.0.0 > Reporter: Marcelo Vanzin > Labels: SPIP > Attachments: screenshot-1.png, screenshot-2.png, spark_hs_next_gen.pdf > > > It's a known fact that the History Server currently has some annoying issues > when serving lots of applications, and when serving large applications. > I'm filing this umbrella to track work related to addressing those issues. > I'll be attaching a document shortly describing the issues and suggesting a > path to how to solve them. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org