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

mapreduce.job#getTaskCompletionEvents incompatible with Hadoop 1

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment