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:
parent
1e016e6451
commit
e7b540eced
|
@ -163,6 +163,9 @@ Trunk (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.6.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue