O'Reilly logo

Apache Accumulo for Developers by Guðmundur Jón Halldórsson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. ZooKeeper Command References

ZooKeeper commands; the four-letter words. You can use the commands via telnet or NC at the client port; for example, like this:

echo conf | nc 127.0.0.1 511

The following table explains the ZooKeeper commands:

Command

Description

conf

Prints details about serving configuration

cons

Lists full connection/session details for all clients connected to this server

crst

Resets connection/session statistics for all connections

dump

Lists the outstanding sessions and ephemeral nodes

envi

Prints details about serving environment

ruok

Tests if server is running in a non-error state

srst

Resets server statistics

srvr

Lists full details for the server

stat

Lists brief details ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required