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

Determine the database type once the PersistenceManagerFactory created

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • None

    Description

      Upon ObjectStore initialization, we need to determine which type of underlying db is by asking the connection the product name. It's a waste of time and resource to do this, as long as we don't change the database connection information, the db type shouldn't be changed, sometimes retrieving the connection for the secondary connection pool(which size is 2) could be time cost, which can lead to HiveMetastoreClient taking much time to connect to the Metastore.

      Attachments

        Activity

          People

            dengzh Zhihua Deng
            dengzh Zhihua Deng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: