Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2-alpha
-
None
-
Incompatible change, Reviewed
Description
The following methods in MR2's org.apache.hadoop.mapreduce.Job throw an InterruptedException but don't in MR1, which makes them incompatible. (Their Javadoc comments are also missing that they throw an InterruptedException anyway)
I propose that we wrap the InterruptedException in a RuntimeException.
public float setupProgress() throws IOException, InterruptedException public float mapProgress() throws IOException, InterruptedException public float reduceProgress() throws IOException, InterruptedException public boolean isComplete() throws IOException, InterruptedException public boolean isSuccessful() throws IOException, InterruptedException public void killJob() throws IOException, InterruptedException public void killTask(org.apache.hadoop.mapreduce.TaskAttemptID) throws IOException, InterruptedException public void failTask(org.apache.hadoop.mapreduce.TaskAttemptID) throws IOException, InterruptedException public Counters getCounters() throws IOException, InterruptedException
Attachments
Attachments
Issue Links
- is blocked by
-
MAPREDUCE-4932 mapreduce.job#getTaskCompletionEvents incompatible with Hadoop 1
- Closed