private String getLockName(String parent, HiveLockMode mode) {
    return parent + "/" + "LOCK-" + mode + "-";
  }
@param name
         The name of the zookeeper child
@param data
         The data for the zookeeper child
@param mode
         The mode in which the child needs to be created
@throws KeeperException
@throws InterruptedException
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java