The following table lists the default ports used by the various ZooKeeper services.
Service | Servers | Default Ports Used | Protocol | Description | Need End User Access? | Configuration Parameters |
ZooKeeper Server | All ZooKeeper Node hosts | 2888 | Port used by ZooKeeper peers to talk to each other.See here for more information. | No | hbase.zookeeper.peerport |
|
ZooKeeper Server | All ZooKeeper Node hosts | 3888 | Port used by ZooKeeper peers to talk to each other.See here for more information. | No | hbase.zookeeper.leaderport |
|
ZooKeeper Server | All ZooKeeper Hosts | 2181 | Property from ZooKeeper's config zoo.cfg . The port at which the clients will connect. |
Yes | hbase.zookeeper.property.clientPort |