hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Zillmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-475) Remove ApplicationConstants.AM_APP_ATTEMPT_ID_ENV as it is no longer set in an AM's environment
Date Sun, 07 Feb 2016 09:22:40 GMT

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

Johannes Zillmann commented on YARN-475:
----------------------------------------

Btw, the documentation [http://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html]
uses still the now non-existing {{ApplicationConstants.AM_APP_ATTEMPT_ID_ENV.}}!

> Remove ApplicationConstants.AM_APP_ATTEMPT_ID_ENV as it is no longer set in an AM's environment
> -----------------------------------------------------------------------------------------------
>
>                 Key: YARN-475
>                 URL: https://issues.apache.org/jira/browse/YARN-475
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Hitesh Shah
>            Assignee: Hitesh Shah
>             Fix For: 2.1.0-beta
>
>         Attachments: YARN-475.1.patch
>
>
> AMs are expected to use ApplicationConstants.AM_CONTAINER_ID_ENV and derive the application
attempt id from the container id. 



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

Mime
View raw message