public static void deletePath(final ZkClient client, final String path) throws Exception {
        try {
            client.delete(path);
        }
        catch (final ZkNoNodeException e) {
            logger.info(path + " deleted during connection loss; this is ok");
        }
        catch (final Exception e) {
            throw e;
        }
    }
Update the value of a persistent node with the given path and data.
create parrent directory if necessary. Never throw NodeExistException.
metamorphosis-commons/src/main/java/com/taobao/metamorphosis/utils/ZkUtils.java