You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/01/14 09:54:37 UTC

[jira] [Commented] (MAPREDUCE-6210) Use getApplicationAttemptId() instead of getApplicationID() for logging AttemptId in RMContainerAllocator.java

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276674#comment-14276674 ] 

Hudson commented on MAPREDUCE-6210:
-----------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #6858 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6858/])
MAPREDUCE-6210. Use getApplicationAttemptId() instead of getApplicationID() for logging AttemptId in RMContainerAllocator.java (Contributed by Leitao Guo) (aajisaka: rev d336d136785ef1e49e0a110a1b9f0d1824829877)
* hadoop-mapreduce-project/CHANGES.txt
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerAllocator.java


> Use getApplicationAttemptId() instead of getApplicationID() for logging AttemptId 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
>            Assignee: Leitao Guo
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: MAPREDUCE-6210.patch
>
>
> 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)