throw new RuntimeException(ex);
}
}
private static boolean verifyAccumuloIsDown(Instance inst, String oldPassword) {
ZooReader zooReader = new ZooReaderWriter(inst.getZooKeepers(), inst.getZooKeepersSessionTimeOut(), oldPassword);
String root = ZooUtil.getRoot(inst);
final List<String> ephemerals = new ArrayList<String>();
recurse(zooReader, root, new Visitor() {
public void visit(ZooReader zoo, String path) throws Exception {
Stat stat = zoo.getStatus(path);