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

Chuan Liu commented on YARN-1025:
---------------------------------

+1
Thanks for the patch, Chris!
Just to add some of my observations: we don't need to set this for mapred, 
hdfs, and hadoop cmd script files because they all use HADOOP_OPTS environment 
variable which is already set to include JAVA_LIBRARY_PATH in 
hadoop-config.cmd. This patch also matches Linux behavior -- we also explicitly 
set JAVA_LIBRARY_PATH in the Yarn Linux shell script.
                
> ResourceManager and NodeManager do not load native libraries on Windows.
> ------------------------------------------------------------------------
>
>                 Key: YARN-1025
>                 URL: https://issues.apache.org/jira/browse/YARN-1025
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager, resourcemanager
>    Affects Versions: 3.0.0, 2.1.1-beta
>            Reporter: Chris Nauroth
>         Attachments: YARN-1025.1.patch
>
>
> ResourceManager and NodeManager do not have the correct setting for 
> java.library.path when launched on Windows.  This prevents the processes from 
> loading native code from hadoop.dll.  The native code is required for correct 
> functioning on Windows (not optional), so this ultimately can cause failures.

--
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

Reply via email to