[
https://issues.apache.org/jira/browse/HADOOP-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ravi Gummadi updated HADOOP-6163:
---------------------------------
Attachment: HADOOP-6163.v1.patch
Attaching new patch that checks if phases exist in phase() method and returns
null if there are no phases in this Progress object instead of throwing
ArrayIndexOutOfBoundsException.
> Progress class should provide an api if phases exist
> ----------------------------------------------------
>
> Key: HADOOP-6163
> URL: https://issues.apache.org/jira/browse/HADOOP-6163
> Project: Hadoop Common
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.21.0
> Reporter: Ravi Gummadi
> Assignee: Ravi Gummadi
> Fix For: 0.21.0
>
> Attachments: HADOOP-6163.patch, HADOOP-6163.v1.patch
>
>
> Progress class needs to provide an api for client to know if there are phases.
> This is needed for Task.setProgress() to decide whether to update progress of
> task or progress of current phase in the task.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.