milleruntime commented on a change in pull request #868: Make replication 
services start when configured
URL: https://github.com/apache/accumulo/pull/868#discussion_r245379858
 
 

 ##########
 File path: server/master/src/main/java/org/apache/accumulo/master/Master.java
 ##########
 @@ -1427,9 +1405,13 @@ public void run() {
 
     final long deadline = System.currentTimeMillis() + MAX_CLEANUP_WAIT_TIME;
     statusThread.join(remaining(deadline));
-    replicationWorkAssigner.join(remaining(deadline));
-    replicationWorkDriver.join(remaining(deadline));
-    replAddress.server.stop();
+    if (!getConfiguration().get(Property.REPLICATION_NAME).isEmpty()) {
 
 Review comment:
   I am not sure what you are asking.  Are you saying, kill the timer watch 
threads once the replication.name is set?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to