码迷,mamicode.com
首页 > 其他好文 > 详细

zookeeper常用命令

时间:2017-06-27 10:04:41      阅读:282      评论:0      收藏:0      [点我收藏+]

标签:watches   redo   auth   add   命令   localhost   sync   off   tor   

[zk: localhost:2181(CONNECTED) 1] help
ZooKeeper -server host:port cmd args 
    stat path [watch]
    set path data [version]
    ls path [watch]
    delquota [-n|-b] path
    ls2 path [watch] 
    setAcl path acl
    setquota -n|-b val path
    history 
    redo cmdno
    printwatches on|off
    delete path [version]
    sync path
    listquota path
    rmr path
    get path [watch]
    create [-s] [-e] path data acl
    addauth scheme auth
    quit 
    getAcl path
    close 
    connect host:port
[zk: localhost:2181(CONNECTED) 2] 

 

zookeeper常用命令

标签:watches   redo   auth   add   命令   localhost   sync   off   tor   

原文地址:http://www.cnblogs.com/rocky-AGE-24/p/7083353.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!