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:
parent
eeb8ff9688
commit
89b41b5ce9
|
@ -53,6 +53,9 @@ Release 2.6.0 - 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.5.0 - UNRELEASED
|
Release 2.5.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue