dengzhhu653 commented on code in PR #5011:
URL: https://github.com/apache/hive/pull/5011#discussion_r1456697991
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/leader/LeaderElectionContext.java:
##########
@@ -42,12 +42,12 @@ public class LeaderElectionContext {
* For those tasks which belong to the same type, they will be running in
the same leader.
*/
public enum TTYPE {
- HOUSEKEEPING(new TableName(Warehouse.DEFAULT_CATALOG_NAME, "sys",
- "metastore_housekeeping_leader"), "housekeeping"),
- WORKER(new TableName(Warehouse.DEFAULT_CATALOG_NAME, "sys",
- "metastore_worker_leader"), "compactor_worker"),
- ALWAYS_TASKS(new TableName(Warehouse.DEFAULT_CATALOG_NAME, "sys",
- "metastore_always_tasks_leader"), "always_tasks");
+ HOUSEKEEPING(new TableName(Warehouse.DEFAULT_CATALOG_NAME,
"__METASTORE_LEADER_ELECTION__",
Review Comment:
This is the default db unless `METASTORE_HOUSEKEEPING_LEADER_LOCK_NAMESPACE`
configured to a non-empty string.
--
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]