GitHub user devaraj-kavali opened a pull request:
https://github.com/apache/spark/pull/16725
[SPARK-19377] [WEBUI] [CORE] Killed tasks should have the status as KILLED
## What changes were proposed in this pull request?
Copying of the killed status was missing while getting the newTaskInfo
object by dropping the unnecessary details to reduce the memory usage. This
patch adds the copying of the killed status to newTaskInfo object, this will
correct the display of the status from wrong status to KILLED status in Web UI.
## How was this patch tested?
Current behaviour of displaying tasks in stage UI page,
| Index | ID | Attempt | Status | Locality Level | Executor ID / Host |
Launch Time | Duration | GC Time | Input Size / Records | Write Time | Shuffle
Write Size / Records | Errors |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
--- |
|143|10 |0 |SUCCESS|NODE_LOCAL |6 / x.xx.x.x
stdout stderr|2017/01/25 07:49:27 |0 ms | |0.0 B / 0 |
|0.0 B / 0|TaskKilled (killed intentionally)|
|156|11 |0 |SUCCESS|NODE_LOCAL |5 / x.xx.x.x
stdout stderr|2017/01/25 07:49:27 |0 ms | |0.0 B / 0 |
|0.0 B / 0|TaskKilled (killed intentionally)|
Web UI display after applying the patch,
| Index | ID | Attempt | Status | Locality Level | Executor ID / Host |
Launch Time | Duration | GC Time | Input Size / Records | Write Time | Shuffle
Write Size / Records | Errors |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
--- |
|143|10 |0 |KILLED |NODE_LOCAL |6 / x.xx.x.x stdout
stderr|2017/01/25 07:49:27 |0 ms | |0.0 B / 0 | | 0.0 B /
0 | TaskKilled (killed intentionally)|
|156|11 |0 |KILLED |NODE_LOCAL |5 / x.xx.x.x stdout
stderr|2017/01/25 07:49:27 |0 ms | |0.0 B / 0 | |0.0 B /
0 | TaskKilled (killed intentionally)|
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/devaraj-kavali/spark SPARK-19377
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16725.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16725
commit 6206d109b646e55223a4b162a37e70f42f4570a1
Author: Devaraj K
Date: 2017-01-28T05:53:21Z
[SPARK-19377] [WEBUI] [CORE] Killed tasks should have the status as KILLED
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org