follower
[root@ibm-m0 ~]# echo stat | nc 10.0.14.120 2181
Zookeeper version: 3.3.3-cdh3u1--1, built on 07/18/2011 15:17 GMT
Clients:
/10.0.14.120:39601[0](queued=0,recved=1,sent=0)
/10.0.14.127:60443[1](queued=0,recved=693,sent=695)
/10.0.14.125:55967[1](queued=0,recved=693,sent=695)
/10.0.14.128:33362[1](queued=0,recved=693,sent=695)
Latency min/avg/max: 0/0/73
Received: 3251
Sent: 3256
Outstanding: 0
Zxid: 0x1100000393
Mode: follower
Node count: 17
leader
[root@ibm-m0 ~]# echo stat | nc 10.0.14.122 2181
Zookeeper version: 3.3.3-cdh3u1--1, built on 07/18/2011 15:17 GMT
Clients:
/10.0.14.127:54815[1](queued=0,recved=1100,sent=1164)
/10.0.14.120:54725[0](queued=0,recved=1,sent=0)
/10.0.14.129:53350[1](queued=0,recved=1106,sent=1168)
/10.0.14.120:38071[1](queued=0,recved=694,sent=696)
/10.0.14.128:59437[1](queued=0,recved=1122,sent=1193)
/10.0.14.124:51831[1](queued=0,recved=1094,sent=1155)
/10.0.14.125:54028[1](queued=0,recved=1100,sent=1163)
/10.0.14.120:38067[1](queued=0,recved=870,sent=960)
/10.0.14.124:51958[1](queued=0,recved=693,sent=695)
/10.0.14.122:58949[1](queued=0,recved=693,sent=695)
/10.0.14.129:40039[1](queued=0,recved=693,sent=695)
/10.0.14.122:58960[1](queued=0,recved=698,sent=701)
Latency min/avg/max: 0/2/1958
Received: 10054
Sent: 10475
Outstanding: 0
Zxid: 0x1100000393
Mode: leader
Node count: 17