You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Shuai Zhang (JIRA)" <ji...@apache.org> on 2016/04/29 09:39:13 UTC

[jira] [Commented] (YARN-358) bundle container classpath in temporary jar on all platforms, not just Windows

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

Shuai Zhang commented on YARN-358:
----------------------------------

I found it difficult to work with DockerContainerExecutor. The environment is different within a Docker container or not, so the classpath differs according to the environment variables such as HADOOP_PREFIX, YARN_CONF_DIR, etc. We cannot introduce environment variables within a Docker container into a generated manifest file. As a result, we cannot generate a correct manifest file running within a Docker container.

> bundle container classpath in temporary jar on all platforms, not just Windows
> ------------------------------------------------------------------------------
>
>                 Key: YARN-358
>                 URL: https://issues.apache.org/jira/browse/YARN-358
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: trunk-win
>            Reporter: Chris Nauroth
>
> Currently, a Windows-specific code path bundles the classpath into a temporary jar with a manifest to work around command line length limitations.  This code path does not need to be Windows-specific.  We can use the same approach on all platforms.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org