Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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.