hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject hive git commit: HIVE-10544 : Beeline/Hive JDBC Driver fails in HTTP mode on Windows with java.lang.NoSuchFieldError: INSTANCE (Hari Sankar Sivarama Subramaniyan via Thejas Nair)
Date Tue, 05 May 2015 00:29:13 GMT
Repository: hive
Updated Branches:
  refs/heads/master 57df263e5 -> fe01db21a


HIVE-10544 : Beeline/Hive JDBC Driver fails in HTTP mode on Windows with java.lang.NoSuchFieldError:
INSTANCE (Hari Sankar Sivarama Subramaniyan via Thejas Nair)


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

Branch: refs/heads/master
Commit: fe01db21a6a0e41c806b2cdb1592cdb494d2b070
Parents: 57df263
Author: Thejas Nair <thejas@hortonworks.com>
Authored: Mon May 4 17:28:46 2015 -0700
Committer: Thejas Nair <thejas@hortonworks.com>
Committed: Mon May 4 17:29:08 2015 -0700

----------------------------------------------------------------------
 bin/beeline.cmd | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/fe01db21/bin/beeline.cmd
----------------------------------------------------------------------
diff --git a/bin/beeline.cmd b/bin/beeline.cmd
index 8687444..971e20b 100644
--- a/bin/beeline.cmd
+++ b/bin/beeline.cmd
@@ -42,23 +42,24 @@ if not exist %HADOOP_HOME%\libexec\hadoop-config.cmd (
 )
 @rem supress the HADOOP_HOME warnings in 1.x.x
 set HADOOP_HOME_WARN_SUPPRESS=true
-call %HADOOP_HOME%\libexec\hadoop-config.cmd
 
 @rem include only the beeline client jar and its dependencies
 pushd %HIVE_HOME%\lib
 for /f %%a IN ('dir /b hive-beeline-**.jar') do (
-  set CLASSPATH=%CLASSPATH%;%HIVE_HOME%\lib\%%a
+  set HADOOP_CLASSPATH=%HADOOP_CLASSPATH%;%HIVE_HOME%\lib\%%a
 )
 for /f %%a IN ('dir /b super-csv-**.jar') do (
-  set CLASSPATH=%CLASSPATH%;%HIVE_HOME%\lib\%%a
+  set HADOOP_CLASSPATH=%HADOOP_CLASSPATH%;%HIVE_HOME%\lib\%%a
 )
 for /f %%a IN ('dir /b jline-**.jar') do (
-  set CLASSPATH=%CLASSPATH%;%HIVE_HOME%\lib\%%a
+  set HADOOP_CLASSPATH=%HADOOP_CLASSPATH%;%HIVE_HOME%\lib\%%a
 )
 for /f %%a IN ('dir /b hive-jdbc-**-standalone.jar') do (
-  set CLASSPATH=%CLASSPATH%;%HIVE_HOME%\lib\%%a
+  set HADOOP_CLASSPATH=%HADOOP_CLASSPATH%;%HIVE_HOME%\lib\%%a
 )
 popd
+set HADOOP_USER_CLASSPATH_FIRST=true
+call %HADOOP_HOME%\libexec\hadoop-config.cmd
 
 call %JAVA_HOME%\bin\java %JAVA_HEAP_MAX% %HADOOP_OPTS% -classpath %CLASSPATH% org.apache.hive.beeline.BeeLine
%*
 


Mime
View raw message