asinkovits commented on a change in pull request #2906:
URL: https://github.com/apache/hive/pull/2906#discussion_r786957161
##########
File path:
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
##########
@@ -589,6 +589,9 @@ public static ConfVars getMetaConf(String name) {
"in which a warning is being raised if multiple worker version are
detected.\n" +
"The setting has no effect if the metastore.metrics.enabled is
disabled \n" +
"or the metastore.acidmetrics.thread.on is turned off."),
+
COMPACTOR_METADATA_CACHE_TIMEOUT("metastore.compactor.metadata.cache.timeout",
+ "hive.metastore.compactor.metadata.cache.timeout", 60, TimeUnit.SECONDS,
Review comment:
The idea was to keep it at a low value so that we don't need extra
eviction logic. Now that the cache works for a single cycle of the initiator,
the sole purpose of this config is to be able to control the memory consumption
of the cache.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]