HBASE-4854 it seems that CLASSPATH elements coming from Hadoop change HBase behaviour

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1205288 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-11-23 05:10:38 +00:00
parent a5c87acadd
commit ef52263373
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ if [ ! -z $HADOOP_HOME ]; then
for i in "${HADOOP_HOME}/lib/"*.jar; do
HADOOPCPPATH="${HADOOPCPPATH}:$i"
done
CLASSPATH=$(append_path "${HADOOPCPPATH}" "${CLASSPATH}")
CLASSPATH=$(append_path "${CLASSPATH}" "${HADOOPCPPATH}")
if [ -d "${HADOOP_HOME}/lib/native" ]; then
JAVA_PLATFORM=`CLASSPATH=${HADOOPCPPATH} ${JAVA} org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`