hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sp...@apache.org
Subject hive git commit: HIVE-15378: clean up HADOOP_USER_CLASSPATH_FIRST in bin scripts (Fei Hui, reviewed by Sergio Pena)
Date Wed, 14 Dec 2016 17:03:58 GMT
Repository: hive
Updated Branches:
  refs/heads/master 43b516273 -> 44a81d588


HIVE-15378: clean up HADOOP_USER_CLASSPATH_FIRST in bin scripts (Fei Hui, reviewed by Sergio
Pena)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/44a81d58
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/44a81d58
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/44a81d58

Branch: refs/heads/master
Commit: 44a81d588b196d5b0a807093f5ae2bd0b093c364
Parents: 43b5162
Author: Fei Hui <feihui dot ustc at gmail dot com>
Authored: Wed Dec 14 11:03:32 2016 -0600
Committer: Sergio Pena <sergio.pena@cloudera.com>
Committed: Wed Dec 14 11:03:32 2016 -0600

----------------------------------------------------------------------
 bin/beeline  | 4 ----
 bin/hive.cmd | 1 +
 bin/hplsql   | 4 ----
 3 files changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/44a81d58/bin/beeline
----------------------------------------------------------------------
diff --git a/bin/beeline b/bin/beeline
index 8f4484c..7b974d4 100644
--- a/bin/beeline
+++ b/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"

http://git-wip-us.apache.org/repos/asf/hive/blob/44a81d58/bin/hive.cmd
----------------------------------------------------------------------
diff --git a/bin/hive.cmd b/bin/hive.cmd
index 79d6d1b..eb20531 100644
--- a/bin/hive.cmd
+++ b/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%

http://git-wip-us.apache.org/repos/asf/hive/blob/44a81d58/bin/hplsql
----------------------------------------------------------------------
diff --git a/bin/hplsql b/bin/hplsql
index 6a5da7e..ff0c5ee 100644
--- a/bin/hplsql
+++ b/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 "$@"


Mime
View raw message