[ https://issues.apache.org/jira/browse/HADOOP-9599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Mitic updated HADOOP-9599: ------------------------------- Resolution: Fixed Fix Version/s: 2.1.0-beta Status: Resolved (was: Patch Available) Patch committed to trunk, branch-2 and branch-2.1-beta. Thanks Mostafa for the patch and Chuan for the review. > 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 > Fix For: 2.1.0-beta > > 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