dlmarion commented on code in PR #5246:
URL: https://github.com/apache/accumulo/pull/5246#discussion_r1913278011


##########
minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterControl.java:
##########
@@ -278,6 +279,15 @@ public synchronized void stop(ServerType server, String 
hostname) throws IOExcep
         if (managerProcess != null) {
           try {
             cluster.stopProcessWithTimeout(managerProcess, 30, 
TimeUnit.SECONDS);
+            try {
+              System.setProperty("accumulo.properties",
+                  "file://" + cluster.getAccumuloPropertiesPath());
+              new 
ZooZap().zap(cluster.getServerContext().getSiteConfiguration(),
+                  new String[] {"-manager"});
+            } catch (Exception e) {
+              log.error("Error zapping Manager zookeeper lock", e);
+            }

Review Comment:
   Removed system property in dc5e2c3. It wasn't needed anymore, it was needed 
when I was calling `ZooZap.execute` directly before I added `ZooZap.zap`



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

Reply via email to