Commit d80f140
committed
[SPARK-20591][WEB UI] Change succeeded task num of All jobs page to the same as the job detail page(by excluding speculated tasks).
## What changes were proposed in this pull request?
Count the completed tasks num by taskId to excluding speculated tasks.
Add a "completedIndices"(OpenHashSet) to record the the completed tasks by id, and show the completed tasks num by "job.completedIndices.size" instead of "job.numCompletedTasks".
## How was this patch tested?
manual tests1 parent 78b0f97 commit d80f140
File tree
4 files changed
+5
-2
lines changed- core/src/main/scala/org/apache/spark/ui/jobs
4 files changed
+5
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
| 632 | + | |
| 633 | + | |
633 | 634 | | |
634 | 635 | | |
635 | 636 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
426 | 427 | | |
427 | 428 | | |
428 | 429 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments