Eric J. Van der Velden created HADOOP-11654:
-----------------------------------------------

             Summary: In hadoop-config.sh is an ${HADOOP_PREFIX} too much
                 Key: HADOOP-11654
                 URL: https://issues.apache.org/jira/browse/HADOOP-11654
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Eric J. Van der Velden


In hadoop-config.sh:

  if [ -d "${HADOOP_PREFIX}/$HADOOP_COMMON_LIB_NATIVE_DIR" ]; then

But $HADOOP_COMMON_LIB_NATIVE_DIR is already /opt/hadoop-2.6.0/lib/native.

Because ${HADOOP_PREFIX}=/opt/hadoop-2.6.0, the test is false, instead of  
true, so JAVA_LIBRARY_PATH will not be set. 

That is probably why on the internet I see people doing it themselves.



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

Reply via email to