Skip to content

Commit

Permalink
[SPARK-12739][STREAMING] Details of batch in Streaming tab uses two D…
Browse files Browse the repository at this point in the history
…uration columns

I have clearly prefix the two 'Duration' columns in 'Details of Batch' Streaming tab as 'Output Op Duration' and 'Job Duration'

Author: Mario Briggs <mario.briggs@in.ibm.com>
Author: mariobriggs <mariobriggs@in.ibm.com>

Closes apache#11022 from mariobriggs/spark-12739.
  • Loading branch information
mariobriggs authored and zsxwing committed Feb 3, 2016
1 parent 138c300 commit e9eb248
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9eb248

Please sign in to comment.