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

mapreduce.job#getTaskCompletionEvents incompatible with Hadoop 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.1.0-beta
    • mrv2
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: