Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13842

Expose ability to set number of connections in the pool in TxnHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Done
    • 1.0.0
    • 3.0.0
    • Transactions
    • None

    Description

      Current defaults are hardcoded 8/10 for dbcp/bonecp

      Various Connection pool managers support reading configs from a config file.

      The implementation would ideally allow end user to point Hive at the manager specific config file to let the user have full control

      HikariCP supports
      HikariConfig config = new HikariConfig("/some/path/hikari.properties");
      see https://github.com/brettwooldridge/HikariCP

      BoneCP supports
      bonecp-config.xml
      see https://github.com/wwadge/bonecp/blob/master/bonecp/src/main/java/com/jolbox/bonecp/BoneCPConfig.java

      Attachments

        Issue Links

          Activity

            People

              ekoifman Eugene Koifman
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: