MAPREDUCE-4932. mapreduce.job#getTaskCompletionEvents incompatible with Hadoop 1. (rkanter via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1469587 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb78a65a15
commit
e222d1e783
@ -314,7 +314,11 @@ Release 2.0.5-beta - UNRELEASED
|
||||
MAPREDUCE-5128. mapred-default.xml is missing a bunch of history server
|
||||
configs. (sandyr via tucu)
|
||||
|
||||
MAPREDUCE-4898. FileOutputFormat.checkOutputSpecs and FileOutputFormat.setOutputPath incompatible with MR1. (rkanter via tucu)
|
||||
MAPREDUCE-4898. FileOutputFormat.checkOutputSpecs and
|
||||
FileOutputFormat.setOutputPath incompatible with MR1. (rkanter via tucu)
|
||||
|
||||
MAPREDUCE-4932. mapreduce.job#getTaskCompletionEvents incompatible with
|
||||
Hadoop 1. (rkanter via tucu)
|
||||
|
||||
Release 2.0.4-alpha - UNRELEASED
|
||||
|
||||
|
@ -659,7 +659,23 @@ public TaskCompletionEvent[] run() throws IOException, InterruptedException {
|
||||
startFrom, numEvents);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get events indicating completion (success/failure) of component tasks.
|
||||
*
|
||||
* @param startFrom index to start fetching events from
|
||||
* @return an array of {@link TaskCompletionEvent}s
|
||||
* @throws IOException
|
||||
*/
|
||||
public TaskCompletionEvent[] getTaskCompletionEvents(final int startFrom)
|
||||
throws IOException {
|
||||
try {
|
||||
return getTaskCompletionEvents(startFrom, 10);
|
||||
} catch (InterruptedException ie) {
|
||||
throw new RuntimeException(ie);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Kill indicated task attempt.
|
||||
|
Loading…
Reference in New Issue
Block a user