Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import org.apache.accumulo.cluster.ClusterControl;
import org.apache.accumulo.core.Constants;
import org.apache.accumulo.core.conf.Property;
import org.apache.accumulo.core.conf.SiteConfiguration;
import org.apache.accumulo.core.data.ResourceGroupId;
import org.apache.accumulo.minicluster.ServerType;
import org.apache.accumulo.miniclusterImpl.MiniAccumuloClusterImpl.ProcessInfo;
Expand Down Expand Up @@ -312,6 +313,8 @@ public synchronized void stop(ServerType server, String hostname) throws IOExcep
try {
cluster.stopProcessWithTimeout(managerProcess, 30, TimeUnit.SECONDS);
try {
System.setProperty(SiteConfiguration.ACCUMULO_PROPERTIES_PROPERTY,
"file://" + this.cluster.getAccumuloPropertiesPath());
new ZooZap().execute(new String[] {"-manager"});
} catch (Exception e) {
log.error("Error zapping Manager zookeeper lock", e);
Expand Down
Loading