You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2019/11/07 16:58:00 UTC

[jira] [Created] (HIVE-22469) Lower Metastore DB Connection Pool Size in QTests

David Mollitor created HIVE-22469:
-------------------------------------

             Summary: Lower Metastore DB Connection Pool Size in QTests
                 Key: HIVE-22469
                 URL: https://issues.apache.org/jira/browse/HIVE-22469
             Project: Hive
          Issue Type: Improvement
          Components: Test, Tests
    Affects Versions: 3.2.0
            Reporter: David Mollitor
            Assignee: David Mollitor


Hive Metastore uses the 'HikariCP' database connection pool.  The default number of connections to the database is 10.  For the Qtests, connecting to a local DerbyDB, there need not be more than 1 connection.  Anymore simply adds undo overhead and by looking at the QTest logs, I see a bunch of 'connection refused' from HikariCP.  It may be the case that the standalone DB does not support that many concurrent connections anyway.


https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-MetaStore



--
This message was sent by Atlassian Jira
(v8.3.4#803005)