My bad. I wasn't using the right version libraries on the client. Issue is now fixed.
On Sep 14, 2011, at 9:34 PM, Krish Khambadkone wrote:

Hi, I am trying to access Hive 0.70 through jdbc. The hive server is running on port 6000. The server seems to be getting the call as I see a log msg being generated however it is failing with this exception on the client.

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.hive.service.ThriftHive$Client.sendBase(Ljava/lang/String;Lorg/apache/thrift/TBase;)V
at org.apache.hadoop.hive.service.ThriftHive$Client.send_execute(ThriftHive.java:99)
at org.apache.hadoop.hive.service.ThriftHive$Client.execute(ThriftHive.java:91)
at org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
at org.apache.hadoop.hive.jdbc.HiveStatement.execute(HiveStatement.java:127)
at org.apache.hadoop.hive.jdbc.HiveConnection.configureConnection(HiveConnection.java:108)
at org.apache.hadoop.hive.jdbc.HiveConnection.<init>(HiveConnection.java:103)
at org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:104)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at HiveJdbcClient.main(HiveJdbcClient.java:23)

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupuser @
categorieshive, hadoop
postedSep 15, '11 at 4:36a
activeSep 15, '11 at 10:03p

1 user in discussion

Krish Khambadkone: 2 posts



site design / logo © 2022 Grokbase