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

Copy-paste error in the TaskAttemptUnsuccessfulCompletionEvent constructor

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-beta1
    • None
    • None
    • Reviewed

    Description

      This constructor seems to be copy-pasted from another one, but it doesn't pass allSplits parameter as expected.

      Lines 126-133:

        public TaskAttemptUnsuccessfulCompletionEvent
            (TaskAttemptID id, TaskType taskType,
             String status, long finishTime,
             String hostname, int port, String rackName,
             String error, int[][] allSplits) {
          this(id, taskType, status, finishTime, hostname, port,
              rackName, error, EMPTY_COUNTERS, null);
        }
      

      Attachments

        1. MAPREDUCE-6940.patch
          4 kB
          Oleg Danilov

        Activity

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

          People

            olegd Oleg Danilov
            olegd Oleg Danilov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment