You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Lin Yiqun (JIRA)" <ji...@apache.org> on 2015/12/22 10:04:46 UTC
[jira] [Commented] (MAPREDUCE-6586) TaskAttempt Page should reset
the progress to 0 when its state is failed
[ https://issues.apache.org/jira/browse/MAPREDUCE-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067780#comment-15067780 ]
Lin Yiqun commented on MAPREDUCE-6586:
--------------------------------------
Thanks reviewing!
> TaskAttempt Page should reset the progress to 0 when its state is failed
> ------------------------------------------------------------------------
>
> Key: MAPREDUCE-6586
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6586
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: webapps
> Affects Versions: 2.7.1
> Reporter: Lin Yiqun
> Assignee: Lin Yiqun
> Attachments: MAPREDUCE-6586.001.patch
>
>
> 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:
> {code:title=CompletedTaskAttempt.java|borderStyle=solid}
> @Override
> public Counters getCounters() {
> return attemptInfo.getCounters();
> }
> @Override
> public TaskAttemptId getID() {
> return attemptId;
> }
> @Override
> public float getProgress() {
> return 1.0f;
> }
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)