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

Copy-paste error in the TaskAttemptUnsuccessfulCompletionEvent constructor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: