.toString(); try { getZooKeeper().deleteExt(currentWorkerNode, -1, false); } catch (KeeperException.NoNodeException e) { if(System.nanoTime() % 20 == 0) {
@Override public Void execute() throws KeeperException, InterruptedException { if(!recursive) { getZooKeeper().delete(path, version); return null; } try { getZooKeeper().delete(path, version); return null; } catch (KeeperException.NotEmptyException e) { LOG.warn("deleteExt: Cannot directly remove node {}", path); } List<String> childList = getZooKeeper().getChildren(path, false); for(String child: childList) { deleteExt(path + GuaguaConstants.ZOOKEEPER_SEPARATOR + child, -1, true); } getZooKeeper().delete(path, version); return null; } });
getZooKeeper().deleteExt(appNode, -1, true); } catch (KeeperException.NoNodeException e) { if(System.nanoTime() % 20 == 0) {
String znode = getMasterNode(context.getAppId(), context.getCurrentIteration() - 2).toString(); try { getZooKeeper().deleteExt(znode, -1, false); if(isSplit) { znode = getCurrentMasterSplitNode(context.getAppId(), context.getCurrentIteration() - 2) .toString(); getZooKeeper().deleteExt(znode, -1, true);
getZooKeeper().deleteExt(appNode, -1, true); } catch (KeeperException.NoNodeException e) { if(System.nanoTime() % 20 == 0) {