MAPREDUCE-5220. Fix backward incompatibility for TaskCompletionEvent by adding back setTaskID. Contributed by Zhijie Shen.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489187 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8db62b0bd3
commit
0add6b4edc
|
@ -481,6 +481,9 @@ Release 2.1.0-beta - UNRELEASED
|
|||
of the entire Container in the startContainer call - YARN-684.
|
||||
(Vinod Kumar Vavilapalli via sseth)
|
||||
|
||||
MAPREDUCE-5220. Fix backward incompatibility for TaskCompletionEvent by
|
||||
adding back setTaskID. (Zhijie Shen via acmurthy)
|
||||
|
||||
BREAKDOWN OF HADOOP-8562 SUBTASKS
|
||||
|
||||
MAPREDUCE-4739. Some MapReduce tests fail to find winutils.
|
||||
|
|
|
@ -105,7 +105,17 @@ public class TaskCompletionEvent
|
|||
public void setTaskId(String taskId) {
|
||||
this.setTaskAttemptId(TaskAttemptID.forName(taskId));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets task id.
|
||||
* @param taskId
|
||||
* @deprecated use {@link #setTaskAttemptId(TaskAttemptID)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setTaskID(TaskAttemptID taskId) {
|
||||
this.setTaskAttemptId(taskId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets task id.
|
||||
* @param taskId
|
||||
|
|
Loading…
Reference in New Issue