hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Dimiduk <ndimi...@gmail.com>
Subject Re: HS2 standalone JDBC jar not standalone
Date Mon, 02 Mar 2015 18:56:23 GMT
Thanks Alexander!

On Mon, Mar 2, 2015 at 10:31 AM, Alexander Pivovarov <apivovarov@gmail.com>
wrote:

> yes, we even have a ticket for that
> https://issues.apache.org/jira/browse/HIVE-9600
>
> btw can anyone test jdbc driver with kerberos enabled?
> https://issues.apache.org/jira/browse/HIVE-9599
>
>
> On Mon, Mar 2, 2015 at 10:01 AM, Nick Dimiduk <ndimiduk@gmail.com> wrote:
>
>> Heya,
>>
>> I've like to use jmeter against HS2/JDBC and I'm finding the "standalone"
>> jar isn't actually standalone. It appears to include a number of
>> dependencies but not Hadoop Common stuff. Is there a packaging of this jar
>> that is actually standalone? Are there instructing for using this
>> standalone jar as it is?
>>
>> Thanks,
>> Nick
>>
>> jmeter.JMeter: Uncaught exception:  java.lang.NoClassDefFoundError:
>> org/apache/hadoop/conf/Configuration
>>         at
>> org.apache.hive.jdbc.HiveConnection.createBinaryTransport(HiveConnection.java:394)
>>         at
>> org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:188)
>>         at
>> org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:164)
>>         at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
>>         at java.sql.DriverManager.getConnection(DriverManager.java:571)
>>         at java.sql.DriverManager.getConnection(DriverManager.java:233)
>>         at
>> org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.<init>(JdbcConnectionFactory.java:138)
>>         at
>> org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.configure(ResourceLimitingJdbcDataSource.java:311)
>>         at
>> org.apache.jmeter.protocol.jdbc.config.DataSourceElement.initPool(DataSourceElement.java:235)
>>         at
>> org.apache.jmeter.protocol.jdbc.config.DataSourceElement.testStarted(DataSourceElement.java:108)
>>         at
>> org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:214)
>>         at
>> org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:336)
>>         at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.hadoop.conf.Configuration
>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>         ... 13 more
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message