You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2019/06/17 05:16:57 UTC

[GitHub] [hive] maheshk114 commented on a change in pull request #668: HIVE-21841 : Add configuration to specify the hostname of HMS leader …to run housekeeping tasks in.

maheshk114 commented on a change in pull request #668: HIVE-21841 : Add configuration to specify the hostname of HMS leader …to run housekeeping tasks in.
URL: https://github.com/apache/hive/pull/668#discussion_r294128812
 
 

 ##########
 File path: standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
 ##########
 @@ -386,6 +386,12 @@ public static ConfVars getMetaConf(String name) {
         new RangeValidator(1, 20), "Number of consecutive compaction failures (per table/partition) " +
         "after which automatic compactions will not be scheduled any more.  Note that this must be less " +
         "than hive.compactor.history.retention.failed."),
+    METASTORE_HOUSEKEEPING_LEADER_HOSTNAME("metastore.housekeeping.leader.hostname",
+            "hive.metastore.housekeeping.leader.hostname", "",
+"If there are multiple Thrift metastore services running, the hostname of Thrift metastore " +
+        "service to run housekeeping tasks at. By default this values is empty, which " +
+        "means that the current metastore will run the housekeeping tasks. This value should " +
+        "match that of configuration metastore.thrift.bind.host of the leader HMS, if set."),
 
 Review comment:
   its also using the getLocalHost() to match with the housekeeping.leader.hostname

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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