Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.7.1
-
None
-
None
Description
The progress of taskAttempt is not correctly showing when the taskAttempt is failed. The value is 100.00, but actually the taskAttempt is failed. And I found the reason is following:
CompletedTaskAttempt.java
@Override public Counters getCounters() { return attemptInfo.getCounters(); } @Override public TaskAttemptId getID() { return attemptId; } @Override public float getProgress() { return 1.0f; }
When the taskAttempt is completed, the progress will always return 1.0 whenever the result is failed or succeed. This will let users confused. May be it should be reset to 0 better. I attach a screen shot of this case.