[ https://issues.apache.org/jira/browse/HIVE-24323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
N Campbell updated HIVE-24323: ------------------------------ 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 {color:#000000}Doc ID 2650046.1{color} {color:#000000} 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){color} was: 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 > 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 > Priority: Major > > *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 {color:#000000}Doc ID 2650046.1{color} > {color:#000000} > 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){color} -- This message was sent by Atlassian Jira (v8.3.4#803005)