cnauroth opened a new pull request, #5869:
URL: https://github.com/apache/hive/pull/5869

   ### What changes were proposed in this pull request?
   
   Restore configuration `metastore.initial.metadata.count.enabled` to prevent 
metastore metrics startup queries
   
   ### Why are the changes needed?
   
   For releases as late as Hive 2.3.10, there was support for a 
`metastore.initial.metadata.count.enabled` configuration property. This could 
be set to `false` to prevent running queries to determine the counts of 
existing databases, tables and partitions. In large-scale ephemeral/serverless 
deployments with many HiveMetaStore processes starting up, this can be a source 
of unnecessary load spikes on the database. It appears this property was 
accidentally removed during the Standalone Metastore separation work, 
specifically in the 
[HIVE-17307](https://issues.apache.org/jira/browse/HIVE-17307) metrics 
refactoring.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, this restores the ability to control configuration for whether or not 
to run these metrics queries.
   
   ### How was this patch tested?
   
   Manual testing.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to