-
Notifications
You must be signed in to change notification settings - Fork 28.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-2016][WebUI]RDD partition table pagination for the RDD Page #7692
Conversation
Test build #38531 timed out for PR 7692 at commit |
retest this please |
Test build #126 has finished for PR 7692 at commit
|
retest this please |
Test build #131 has finished for PR 7692 at commit
|
Test build #38671 has finished for PR 7692 at commit
|
@zsxwing could you review this? |
@carsonwang would you mind posting a screenshot of what this looks like before and after? |
Screenshots attached. |
O.K, I'll take a look soon. |
import javax.servlet.http.HttpServletRequest | ||
|
||
import scala.xml.Node | ||
import scala.xml.{Unparsed, Node} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you sort this line with dictionary order?
Thanks @sarutak . The style issues are fixed. |
Works well in my machine. |
Test build #39636 has finished for PR 7692 at commit
|
@@ -1218,7 +1216,7 @@ private[ui] class TaskPagedTable( | |||
Seq(("Errors", "")) | |||
|
|||
if (!taskHeadersAndCssClasses.map(_._1).contains(sortColumn)) { | |||
new IllegalArgumentException(s"Unknown column: $sortColumn") | |||
throw new IllegalArgumentException(s"Unknown column: $sortColumn") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Thanks!
LGTM |
O.K. Merging into |
Add pagination for the RDD page to avoid unresponsive UI when the number of the RDD partitions is large. Before: ![rddpagebefore](https://cloud.githubusercontent.com/assets/9278199/8951533/3d9add54-3601-11e5-99d0-5653b473c49b.png) After: ![rddpageafter](https://cloud.githubusercontent.com/assets/9278199/8951536/439d66e0-3601-11e5-9cee-1b380fe6620d.png) Author: Carson Wang <carson.wang@intel.com> Closes #7692 from carsonwang/SPARK-2016 and squashes the following commits: 03c7168 [Carson Wang] Fix style issues 612c18c [Carson Wang] RDD partition table pagination for the RDD Page (cherry picked from commit cb7fa0a) Signed-off-by: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
Add pagination for the RDD page to avoid unresponsive UI when the number of the RDD partitions is large.
Before:
After: