diff --git bin/beeline bin/beeline index 8f4484c..7b974d4 100644 --- bin/beeline +++ bin/beeline @@ -18,10 +18,6 @@ bin=`dirname "$0"` bin=`cd "$bin"; pwd` -# Set Hadoop User classpath to true so that httpclient jars are taken from -# hive lib instead of hadoop lib. -export HADOOP_USER_CLASSPATH_FIRST=true - # If process is backgrounded, don't change terminal settings if [[ ( ! $(ps -o stat= -p $$) =~ "+" ) && ! ( -p /dev/stdin ) ]]; then export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS -Djline.terminal=jline.UnsupportedTerminal" diff --git bin/hive.cmd bin/hive.cmd index 79d6d1b..eb20531 100644 --- bin/hive.cmd +++ bin/hive.cmd @@ -227,6 +227,7 @@ if exist %HIVE_HOME%\auxlib ( ) popd ) +set HADOOP_USER_CLASSPATH_FIRST=true @rem pass classpath to hadoop set HADOOP_CLASSPATH=%HADOOP_CLASSPATH%;%CLASSPATH%;%AUX_CLASSPATH% diff --git bin/hplsql bin/hplsql index 6a5da7e..ff0c5ee 100644 --- bin/hplsql +++ bin/hplsql @@ -18,8 +18,4 @@ bin=`dirname "$0"` bin=`cd "$bin"; pwd` -# Set Hadoop User classpath to true so that httpclient jars are taken from -# hive lib instead of hadoop lib. -export HADOOP_USER_CLASSPATH_FIRST=true - . "$bin"/hive --service hplsql "$@"