Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4932

mapreduce.job#getTaskCompletionEvents incompatible with Hadoop 1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • 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:
      Reviewed

      Description

      In MR1, org.apache.hadoop.mapreduce.Job#getTaskCompletionEvents takes one argument: int startFrom. In MR2, it now takes an additional argument: int numEvents (which is the max number of events to get). This makes them incompatible.

      I propose we add a second getTaskCompletionEvents method that simply calls the other one with numEvents set to Integer.MAX_VALUE to replicate the behavior of the MR1 version.

        Attachments

        1. MAPREDUCE-4932.patch
          1 kB
          Robert Kanter
        2. MAPREDUCE-4932.patch
          1 kB
          Robert Kanter
        3. MAPREDUCE-4932.patch
          1 kB
          Robert Kanter

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: