Quantcast
Channel: Spring Community Forums - NoSQL
Viewing all articles
Browse latest Browse all 128

Hive Connection Pooling

$
0
0
Trying to implement connection pooling for Hive with BoneCP. Getting following error. Looks like HiveDriver doesn't implement AutoCommit. Is there a way to turn off this setting? HiveConnection 0.10.0/0.11.0 has the setAutoCommit method.

Code:


    java.sql.SQLException: Method not supported
    at org.apache.hadoop.hive.jdbc.HiveConnection.setAutoCommit(HiveConnection.java:561)
    at com.jolbox.bonecp.ConnectionHandle.setAutoCommit(ConnectionHandle.java:1247)
    at com.jolbox.bonecp.ConnectionHandle.<init>(ConnectionHandle.java:251)


Viewing all articles
Browse latest Browse all 128

Trending Articles