zookeeper utils,include the leadership and simple lock