dengzhhu653 commented on code in PR #5571: URL: https://github.com/apache/hive/pull/5571#discussion_r1879707911
########## standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java: ########## @@ -638,12 +638,12 @@ public enum ConfVars { "hive.txn.acid.metrics.delta.pct.threshold", 0.01f, "Percentage (fractional) size of the delta files relative to the base directory. Deltas smaller than this threshold " + "count as small deltas. Default 0.01 = 1%.)"), - COMPACTOR_INITIATOR_ON("metastore.compactor.initiator.on", "hive.compactor.initiator.on", false, + COMPACTOR_INITIATOR_ON("metastore.compactor.initiator.on", "hive.compactor.initiator.on", true, "Whether to run the initiator thread on this metastore instance or not.\n" + "Set this to true on one instance of the Thrift metastore service as part of turning\n" + "on Hive transactions. For a complete list of parameters required for turning on\n" + "transactions, see hive.txn.manager."), - COMPACTOR_CLEANER_ON("metastore.compactor.cleaner.on", "hive.compactor.cleaner.on", false, + COMPACTOR_CLEANER_ON("metastore.compactor.cleaner.on", "hive.compactor.cleaner.on", true, Review Comment: We would have only one instance running the `initiator` and `cleaner`, as well as the housekeeping tasks, as the `metastore.housekeeping.leader.election` is changed to `lock`, all HMS instances will trying to acquire the same exclusive Hive lock, only the winner will become the leader and run these maintenance tasks. -- 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