Skip to content
Snippets Groups Projects
Commit 2d686a19 authored by Eric Vandenberg's avatar Eric Vandenberg Committed by Wenchen Fan
Browse files

[SPARK-21155][WEBUI] Add (? running tasks) into Spark UI progress

## What changes were proposed in this pull request?

Add metric on number of running tasks to status bar on Jobs / Active Jobs.

## How was this patch tested?

Run a long running (1 minute) query in spark-shell and use localhost:4040 web UI to observe progress.  See jira for screen snapshot.

Author: Eric Vandenberg <ericvandenberg@fb.com>

Closes #18369 from ericvandenbergfb/runningTasks.
parent fd8c931a
No related branches found
No related tags found
No related merge requests found
......@@ -356,6 +356,7 @@ private[spark] object UIUtils extends Logging {
<div class="progress">
<span style="text-align:center; position:absolute; width:100%; left:0;">
{completed}/{total}
{ if (failed == 0 && skipped == 0 && started > 0) s"($started running)" }
{ if (failed > 0) s"($failed failed)" }
{ if (skipped > 0) s"($skipped skipped)" }
{ reasonToNumKilled.toSeq.sortBy(-_._2).map {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment