ZooKeeper客户端常用命令
来源:互联网 发布:淘宝网涵元服饰 编辑:程序博客网 时间:2024/06/07 13:46
ZooKeeper -server host:port cmd args功能:连接ZooKeeper服务端,实例(zkCli.cmd -server 127.0.0.1:2181) connect host:port get path [watch]功能:查看znode节点数据 ls path [watch] set path data [version]功能:修改znode节点数据 delquota [-n|-b] path quit功能:退出 printwatches on|off create [-s] [-e] path data acl功能:增加一个znode节点,实例(create /zk_test my_data),This creates a new znode and associates the string "my_data" with the node stat path [watch] close ls2 path [watch] history listquota path setAcl path acl getAcl path sync path redo cmdno addauth scheme auth delete path [version]功能:删除一个znode节点,实例(delete /zk_test) setquota -n|-b val path
参考:
1、https://zookeeper.apache.org/doc/r3.3.3/zookeeperStarted.html
2、zookeeper使用和原理探究(一)
http://www.blogjava.net/BucketLi/archive/2010/12/21/341268.html
0 0
- ZooKeeper客户端常用命令
- zookeeper客户端zkCli.sh常用命令
- zookeeper常用命令
- Zookeeper常用命令
- zookeeper常用命令
- zookeeper常用命令
- zookeeper常用命令
- Zookeeper常用命令
- ZooKeeper常用命令
- zookeeper 常用命令
- zookeeper常用命令
- zookeeper常用命令
- Zookeeper常用命令
- Zookeeper常用命令
- zookeeper常用命令
- Zookeeper常用命令
- zookeeper 常用命令
- zookeeper常用命令
- PHP基础知识-函数
- Socket编程--自己动手的HTTP代理服务器
- PART IV 程序设计层 Chapter 7 低级程序设计语言
- 1008. 数组元素循环右移问题 (20)
- spingIoc利用工厂调用方法创建对象
- ZooKeeper客户端常用命令
- 数据库中时间存储类型相关
- fstream头文件
- MySQL 字段添加 删除
- ASPX操作数据库
- UVA10763:Foreign Exchange(交换学生)
- javascript字符串
- 解密ThreadLocal
- CSS透明度兼容写法