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

Ivan Mitic commented on HADOOP-9599:
------------------------------------

Thanks Mostafa for reporting the problem!

The patch looks good. I was able to repro the problem and validate that it is 
fixed with the patch. I agree with Chuan though, using HADOOP_COMMON_HOME 
instead of HADOOP_HOME makes sense, otherwise +1 from me

                
> hadoop-config.cmd doesn't set JAVA_LIBRARY_PATH correctly
> ---------------------------------------------------------
>
>                 Key: HADOOP-9599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9599
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>            Assignee: Mostafa Elhemali
>         Attachments: HADOOP-9599.patch
>
>
> In Windows, hadoop-config.cmd uses the non-existent-variable HADOOP_CORE_HOME 
> when setting the JAVA_LIBRAR_PATH variable. It should use HADOOP_HOME.
> The net effect is that running e.g. "hdfs namenode" would error out with 
> UnsatisfiedLinkError because it can't access hadoop.dll.

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