if (accessor.getChildNames(keyBuilder.liveInstances()).size() > 0)
{
throw new HelixException("There are still live instances in the cluster, shut them down first.");
}
if (accessor.getProperty(keyBuilder.controllerLeader()) != null)
{
throw new HelixException("There are still LEADER in the cluster, shut them down first.");
}
_zkClient.deleteRecursive(root);