Uh oh!
There was an error while loading. Please reload this page.
[SPARK-6796][Streaming][WebUI] Add "Active Batches" and "Completed Batches" lists to StreamingPage - #5434
[SPARK-6796][Streaming][WebUI] Add "Active Batches" and "Completed Batches" lists to StreamingPage#5434zsxwing wants to merge 11 commits into
Conversation
zsxwing
commented
Apr 9, 2015
cc @tdas and @JoshRosen |
SparkQA
commented
Apr 9, 2015
Test build #29922 has finished for PR 5434 at commit
|
tdas
commented
Apr 9, 2015
This is great start. But we should be adding unit tests for this. Recently we have started writing unit tests for UI using selenium. Take a look at how this is written. Try adding unit test to that do some basic testing of this feature. |
There was a problem hiding this comment.
Move this to the top of the function, i think more consistent.
zsxwing
commented
Apr 9, 2015
I added some tests to verify the title titles and column names. |
zsxwing
commented
Apr 9, 2015
retest this please |
SparkQA
commented
Apr 10, 2015
Test build #29986 has finished for PR 5434 at commit
|
tdas
commented
Apr 10, 2015
LGTM. Though, let me try running this locally and seeing the UI myself. |
zsxwing
commented
Apr 11, 2015
Rebased on master. |
SparkQA
commented
Apr 11, 2015
Test build #30060 has finished for PR 5434 at commit
|
There was a problem hiding this comment.
You could make this class abstract and leave this method undefined, then override it in the concrete classes.
There was a problem hiding this comment.
Fixed. Made BatchTableBase abstract.
SparkQA
commented
Apr 12, 2015
Test build #30125 has finished for PR 5434 at commit
|
There was a problem hiding this comment.
One small nit that I noticed when i ran it myself. This says events where as else where in the UI it says records. Lets change it to events to keep things consistent.
tdas
commented
Apr 13, 2015
Another points I noticed in the UI, in the |
tdas
commented
Apr 13, 2015
Also, could you make the stats at the top of the page "Waiting batches" and "Processed batches" links to the corresponding sections? And the names should be consistent, so please rename them here, keep them as "Active Batches" and "Completed Batches". |
Conflicts: streaming/src/main/scala/org/apache/spark/streaming/ui/StreamingPage.scala
zsxwing
commented
Apr 13, 2015
@tdas I fixed as per your suggestion. I also made "startTime" more readable. Here is the new screenshot: |
SparkQA
commented
Apr 13, 2015
Test build #30172 has finished for PR 5434 at commit
|
SparkQA
commented
Apr 13, 2015
Test build #30174 has finished for PR 5434 at commit
|
tdas
commented
Apr 14, 2015
I am merging this. Thanks! |

This PR adds two lists,
Active BatchesandCompleted Batches. Here is the screenshot:Due to SPARK-6766, I need to merge #5414 in my local machine to get the above screenshot.