ZooKeeper 命令使用
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]
相关推荐
潘威威 2014-05-13
CobingLiu 2019-10-25
hudyang 2017-04-07
加号Jaryn笔录 2017-04-07
ZooKeeper支持某些特定的四字命令字母与其的交互。它们大多是查询命令,用来获取ZooKeeper服务的当前状态及相关信息。用户在客户端可以通过telnet或nc向ZooKeeper提交相应的命令
ZooKeeper 2015-10-23
pfjia 2014-05-13
Stereo 2012-08-05
deyu 2020-07-07
枫叶上的雨露 2020-04-30
Java高知 2020-04-22
Fightingxr 2020-02-12
adayan0 2020-01-31
CobingLiu 2020-01-10
大牧关东 2014-06-18
CobingLiu 2019-11-05
KingfuL 2019-10-27
Stereo 2019-05-06
Jolestar 2018-12-25
fxinzi 2019-08-01