Announcement Announcement Module
Collapse
No announcement yet.
Hive Connection Pooling Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hive Connection Pooling

    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)

  • #2
    We used C3P0 to get around this issue.

    Comment

    Working...
    X