HADOOP-7097. JAVA_LIBRARY_PATH missing base directory. Contributed by Noah Watkins.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1058003 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ac35cecc9
commit
db70f56cb7
|
@ -433,6 +433,9 @@ Release 0.22.0 - Unreleased
|
|||
HADOOP-7100. Fix build to not refer to contrib/ec2 removed by HADOOP-6811
|
||||
(todd)
|
||||
|
||||
HADOOP-7097. JAVA_LIBRARY_PATH missing base directory. (Noah Watkins via
|
||||
todd)
|
||||
|
||||
Release 0.21.1 - Unreleased
|
||||
|
||||
IMPROVEMENTS
|
||||
|
|
|
@ -192,9 +192,9 @@ if [ -d "${HADOOP_COMMON_HOME}/build/native" -o -d "${HADOOP_COMMON_HOME}/lib/na
|
|||
|
||||
if [ -d "$HADOOP_COMMON_HOME/build/native" ]; then
|
||||
if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then
|
||||
JAVA_LIBRARY_PATH=${JAVA_LIBRARY_PATH}:${HADOOP_CORE_HOME}/build/native/${JAVA_PLATFORM}/lib
|
||||
JAVA_LIBRARY_PATH=${JAVA_LIBRARY_PATH}:${HADOOP_COMMON_HOME}/build/native/${JAVA_PLATFORM}/lib
|
||||
else
|
||||
JAVA_LIBRARY_PATH=${HADOOP_CORE_HOME}/build/native/${JAVA_PLATFORM}/lib
|
||||
JAVA_LIBRARY_PATH=${HADOOP_COMMON_HOME}/build/native/${JAVA_PLATFORM}/lib
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue