[
https://issues.apache.org/jira/browse/HADOOP-9599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Mitic updated HADOOP-9599:
-------------------------------
Description:
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 or
HADOOP_COMMON_HOME.
The net effect is that running e.g. "hdfs namenode" directly (outside of hadoop
command prompt) would error out with UnsatisfiedLinkError because it can't
access hadoop.dll.
was:
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.
> 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.2.patch, HADOOP-9599.3.patch,
> 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 or
> HADOOP_COMMON_HOME.
> The net effect is that running e.g. "hdfs namenode" directly (outside of
> hadoop command prompt) 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