标签:
server.1=master:2888:3888
server.2=slave1:2888:3888
server.3=slave2:2888:3888
|
WATCHER::
WatchedEvent state:SyncConnected type:None path:null
[zk: localhost:2181(CONNECTED) 0] ls /
[mytest, zookeeper]
[zk: localhost:2181(CONNECTED) 1] create /mytest "内容"
|
[root@master bin]#
./zkServer.sh status
JMX enabled by defaultUsing config: /usr/zookeeper-3.4.6/bin/../conf/zoo.cfg Mode: follower [root@master bin]# |
标签:
原文地址:http://blog.csdn.net/shijiebei2009/article/details/42871281