zookeeper操作

启动zookeeper

/usr/local/platform/zookeeper-3.4.8/bin/zkServer.sh start

查看节点
source /etc/profile
/usr/local/platform/zookeeper-3.4.8/bin/zkCli.sh
查看注册节点
ls /an_discovery/cookiemonster
获取节点信息
get /an_discovery/cookiemonster
删除节点
delete /节点

 

posted @ 2019-04-23 22:12  inmetigersniffstrose  阅读(112)  评论(0编辑  收藏  举报