dengzhhu653 commented on code in PR #6868:
URL: https://github.com/apache/hive/pull/6868#discussion_r4255436907


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/leader/HouseKeepingTasks.java:
##########
@@ -102,6 +109,7 @@ public void takeLeadership(LeaderElection election) throws 
Exception {
     ThreadFactory threadFactory = new ThreadFactoryBuilder().setDaemon(true)
         .setNameFormat("Metastore Scheduled Worker(" + election.getName() + ") 
%d").build();
     final List<MetastoreTaskThread> tasks;
+    isDynamic = election.isDynamic();

Review Comment:
   Since the fix is simple and test is green, I dont add new unit test around 
the change



-- 
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]

Reply via email to