You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Eric J. Van der Velden (JIRA)" <ji...@apache.org> on 2015/02/28 22:28:05 UTC

[jira] [Created] (HADOOP-11654) In hadoop-config.sh is an ${HADOOP_PREFIX} too much

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)