[
https://issues.apache.org/jira/browse/MAPREDUCE-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698617#comment-13698617
]
Zhijie Shen commented on MAPREDUCE-5363:
----------------------------------------
The doc fix looks good, but is it more concise to refer to Status enum as
follows:
{code}
* Returns {@link Status}
{code}
instead of listing all enum values?
> Fix doc and spelling for TaskCompletionEvent#getTaskStatus and getStatus
> ------------------------------------------------------------------------
>
> Key: MAPREDUCE-5363
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5363
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv1, mrv2
> Affects Versions: 1.1.2, 2.1.0-beta
> Reporter: Sandy Ryza
> Assignee: Akira AJISAKA
> Labels: newbie
> Attachments: MAPREDUCE-5363-1.patch, MAPREDUCE-5363-2.patch
>
>
> The doc for TaskCompletionEvent#get(Task)Status in both MR1 and MR2 is
> {code}
> Returns enum Status.SUCESS or Status.FAILURE.
> @return task tracker status
> {code}
> The actual values that the Status enum can take are
> FAILED, KILLED, SUCCEEDED, OBSOLETE, TIPFAILED
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira