saihemanth-cloudera commented on code in PR #5011:
URL: https://github.com/apache/hive/pull/5011#discussion_r1456547617
##########
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:
Shouldn't the dbName come from this config
'METASTORE_HOUSEKEEPING_LEADER_LOCK_NAMESPACE'?
--
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]