currently hive/lib has both - hive-jdbc.jar - hive-jdbc-standalone.jar We should probably remove hive-jdbc-standalone.jar from hive/lib because it contains slf4j classes. Hadoop lib has slf4j classes already and it will be warning message if there is slf4j class duplicates in classpath
hive-jdbc-standalone.jar is used by - beeline (bin/ext/beeline.sh:27 jdbcStandaloneJarPath=`ls ${HIVE_LIB}/hive-jdbc-*- standalone.jar` ) - jdbc clients (e.g. SQuirreL SQL, SQL Workbench/J, etc) So, where should we put hive-jdbc-standalone.jar if we move it from hive/lib? Several options: - hive root - hive/ext (new folder) - hive/share (new folder) https://issues.apache.org/jira/browse/HIVE-9496