[ 
https://issues.apache.org/jira/browse/HIVE-14837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583112#comment-15583112
 ] 

Gopal V commented on HIVE-14837:
--------------------------------

The sample code from -  
https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-RunningtheJDBCSampleCode

With just hive-jdbc-standalone jar as a dependency without explicitly copying 
the extraneous jars from the hive build dirs (the docs describe the missing 
jars).

> JDBC: standalone jar is missing hadoop core dependencies
> --------------------------------------------------------
>
>                 Key: HIVE-14837
>                 URL: https://issues.apache.org/jira/browse/HIVE-14837
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 2.2.0
>            Reporter: Gopal V
>
> {code}
> 2016/09/24 00:31:57 ERROR - jmeter.threads.JMeterThread: Test failed! 
> java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
>         at 
> org.apache.hive.jdbc.HiveConnection.createUnderlyingTransport(HiveConnection.java:418)
>         at 
> org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:438)
>         at 
> org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:225)
>         at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:182)
>         at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to