aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--streaming/src/main/scala/org/apache/spark/streaming/ui/BatchPage.scala4
-rw-r--r--streaming/src/test/scala/org/apache/spark/streaming/UISeleniumSuite.scala5
2 files changed, 5 insertions, 4 deletions
diff --git a/streaming/src/main/scala/org/apache/spark/streaming/ui/BatchPage.scala b/streaming/src/main/scala/org/apache/spark/streaming/ui/BatchPage.scala
index 7635f79a3d..81de07f933 100644
--- a/streaming/src/main/scala/org/apache/spark/streaming/ui/BatchPage.scala
+++ b/streaming/src/main/scala/org/apache/spark/streaming/ui/BatchPage.scala
@@ -37,10 +37,10 @@ private[ui] class BatchPage(parent: StreamingTab) extends WebUIPage("batch") {
private def columns: Seq[Node] = {
<th>Output Op Id</th>
<th>Description</th>
- <th>Duration</th>
+ <th>Output Op Duration</th>
<th>Status</th>
<th>Job Id</th>
- <th>Duration</th>
+ <th>Job Duration</th>
<th class="sorttable_nosort">Stages: Succeeded/Total</th>
<th class="sorttable_nosort">Tasks (for all stages): Succeeded/Total</th>
<th>Error</th>
diff --git a/streaming/src/test/scala/org/apache/spark/streaming/UISeleniumSuite.scala b/streaming/src/test/scala/org/apache/spark/streaming/UISeleniumSuite.scala
index c4ecebcacf..96dd4757be 100644
--- a/streaming/src/test/scala/org/apache/spark/streaming/UISeleniumSuite.scala
+++ b/streaming/src/test/scala/org/apache/spark/streaming/UISeleniumSuite.scala
@@ -143,8 +143,9 @@ class UISeleniumSuite
summaryText should contain ("Total delay:")
findAll(cssSelector("""#batch-job-table th""")).map(_.text).toSeq should be {
- List("Output Op Id", "Description", "Duration", "Status", "Job Id", "Duration",
- "Stages: Succeeded/Total", "Tasks (for all stages): Succeeded/Total", "Error")
+ List("Output Op Id", "Description", "Output Op Duration", "Status", "Job Id",
+ "Job Duration", "Stages: Succeeded/Total", "Tasks (for all stages): Succeeded/Total",
+ "Error")
}
// Check we have 2 output op ids