Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
The Apache Hive web pages historically implied that only 3-JAR files are required
hadoop-auth
hadoop-common
hive-jdbc
If a connection is attempted using Kerberos authentication, it will fail due to several missing dependencies
hadoop-auth-3.1.1.3.1.5.0-152.jar
hadoop-common-3.1.1.3.1.5.0-152.jar
hive-jdbc-3.1.0.3.1.5.0-152-standalone.jar
Dependencies
commons-collections-3.2.2.jar
commons-configuration2.jar
commons-lang-2.6.jar
guava-29.0-jre.jar
log4j-1.2.17.jar
slf4j-api-1.7.25.jar
It is unclear if the intent of the standalone JAR is to include these dependencies or not.
But does not seem to be any documentation either way.
It also appears that dependencies are not being shaded, which can result in conflicts with guava or wstx jar files in the class path.
Such as noted by ORACLE Doc ID 2650046.1
com.ctc.wstx.io.StreamBootstrapper.getInstance(Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;Ljava/io/InputStream;)Lcom/ctc/wstx/io/StreamBootstrapper; ]
java.lang.NoSuchMethodError: com.ctc.wstx.io.StreamBootstrapper.getInstance(Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;Ljava/io/InputStream;)Lcom/ctc/wstx/io/StreamBootstrapper;
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2918)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2901)