MAPREDUCE-5363. Fix doc and spelling for TaskCompletionEvent#getTaskStatus and getStatus (Akira AJISAKA via aw)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1617981 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Allen Wittenauer 2014-08-14 15:48:31 +00:00
parent eeb8ff9688
commit 89b41b5ce9
3 changed files with 7 additions and 4 deletions

View File

@ -53,6 +53,9 @@ Release 2.6.0 - UNRELEASED
MAPREDUCE-5943. Separate mapred commands from CommandManual.apt.vm
(Akira AJISAKA via aw)
MAPREDUCE-5363. Fix doc and spelling for TaskCompletionEvent#getTaskStatus
and getStatus (Akira AJISAKA via aw)
Release 2.5.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -90,8 +90,8 @@ public class TaskCompletionEvent
}
/**
* Returns enum Status.SUCESS or Status.FAILURE.
* @return task tracker status
* Returns {@link Status}
* @return task completion status
*/
public Status getTaskStatus() {
return Status.valueOf(super.getStatus().name());

View File

@ -95,8 +95,8 @@ public class TaskCompletionEvent implements Writable{
}
/**
* Returns enum Status.SUCESS or Status.FAILURE.
* @return task tracker status
* Returns {@link Status}
* @return task completion status
*/
public Status getStatus() {
return status;