hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-252) Unmanaged AMs should not have to set the ContainerLaunchContext
Date Mon, 03 Dec 2012 12:57:58 GMT

     [ https://issues.apache.org/jira/browse/YARN-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tom White updated YARN-252:

    Attachment: YARN-252.patch

Bikas, thanks for taking a look. I was thinking that since there is no AM container in an
unmanaged situation then setting one doesn't make sense - and in fact requiring that one be
set is very confusing for YARN application writers. For YARN-255 the tokens could be passed
by another API call.

I've updated the patch to assert the context is null for unmanaged AMs.
> Unmanaged AMs should not have to set the ContainerLaunchContext
> ---------------------------------------------------------------
>                 Key: YARN-252
>                 URL: https://issues.apache.org/jira/browse/YARN-252
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications
>    Affects Versions: 2.0.2-alpha
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: YARN-252.patch, YARN-252.patch
> Not calling ApplicationSubmissionContext#setAMContainerSpec causes a NPE, even though
the container is not used (since the AM doesn't run in a managed YARN container).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message