Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      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

          Issue Links

            Activity

              People

              • Assignee:
                rkanter Robert Kanter
                Reporter:
                rkanter Robert Kanter
              • Votes:
                0 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: