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

Arun C Murthy commented on YARN-2481:
-------------------------------------

[~ashahab] YARN already allows the JAVA_HOME to be overridable... take a look 
at {{ApplicationConstants.Environment.JAVA_HOME}} and 
{{YarnConfiguration.DEFAULT_NM_ENV_WHITELIST}} for the code-path.

> YARN should allow defining the location of java
> -----------------------------------------------
>
>                 Key: YARN-2481
>                 URL: https://issues.apache.org/jira/browse/YARN-2481
>             Project: Hadoop YARN
>          Issue Type: New Feature
>            Reporter: Abin Shahab
>
> Yarn right now uses the location of the JAVA_HOME on the host to launch 
> containers. This does not work with Docker containers which have their own 
> filesystem namespace and OS. If the location of the Java binary of the 
> container to be launched is configurable, yarn can launch containers that 
> have java in a different location than the host.



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

Reply via email to