hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leitao Guo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-6210) getApplicationAttemptId() instead of getApplicationID() for logs in RMContainerAllocator.java
Date Mon, 05 Jan 2015 02:45:34 GMT
Leitao Guo created MAPREDUCE-6210:
-------------------------------------

             Summary: getApplicationAttemptId() instead of getApplicationID() for logs in
RMContainerAllocator.java
                 Key: MAPREDUCE-6210
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6210
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: applicationmaster
    Affects Versions: 2.6.0
            Reporter: Leitao Guo
            Priority: Minor


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

{code:title=RMContainerAllocator.java|borderStyle=solid}
      throw new YarnRuntimeException(
        "Resource Manager doesn't recognize AttemptId: "
            + this.getContext().getApplicationID(), e);
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message