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

Use getApplicationAttemptId() instead of getApplicationID() for logging AttemptId in RMContainerAllocator.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • applicationmaster
    • None
    • Reviewed

    Description

      It's confusing in the following codes of RMContainerAllocator.java .

      RMContainerAllocator.java
            throw new YarnRuntimeException(
              "Resource Manager doesn't recognize AttemptId: "
                  + this.getContext().getApplicationID(), e);
      

      Here should be getApplicationAttemptId() instead of getApplicationID().

      Attachments

        1. MAPREDUCE-6210.patch
          1 kB
          Leitao Guo

        Activity

          People

            guoleitao Leitao Guo
            guoleitao Leitao Guo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: