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

Copy-paste error in the TaskAttemptUnsuccessfulCompletionEvent constructor

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: