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/trunk@1617982 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Allen Wittenauer 2014-08-14 15:49:10 +00:00
parent 1e016e6451
commit e7b540eced
3 changed files with 7 additions and 4 deletions

View File

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

View File

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

View File

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