ZooKeeper 2016-06-17
1删除节点,提示Authenticationisnotvalid
[zk:localhost:2181(CONNECTED)27]connectlocalhost:2181ScheduleAdmin:password
delete/taobao-pamirs-schedule/huijin/factory
Authenticationisnotvalid:/taobao-pamirs-schedule/huijin/factory
2操作有权限的节点要先使用
[zk:localhost:2181(CONNECTED)28]addauthdigestScheduleAdmin:password
[zk:localhost:2181(CONNECTED)29]delete/taobao-pamirs-schedule/huijin/factory
3查看节点是否已删除
[zk:localhost:2181(CONNECTED)30]ls2/taobao-pamirs-schedule/huijin
[strategy,baseTaskType]
ZooKeeper支持某些特定的四字命令字母与其的交互。它们大多是查询命令,用来获取ZooKeeper服务的当前状态及相关信息。用户在客户端可以通过telnet或nc向ZooKeeper提交相应的命令