N Campbell created HIVE-24323:
---------------------------------
Summary: JDBC driver fails when using Kerberos due to missing
dependencies
Key: HIVE-24323
URL: https://issues.apache.org/jira/browse/HIVE-24323
Project: Hive
Issue Type: Bug
Components: JDBC
Affects Versions: 3.1.0
Reporter: N Campbell
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
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 {color:#000000}Doc ID 2650046.1{color}
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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)