Apache > ZooKeeper

ZooKeeper Quota's Guide

A Guide to Deployment and Administration


ZooKeeper has both namespace and bytes quotas. You can use the ZooKeeperMain class to setup quotas. ZooKeeper prints WARN messages if users exceed the quota assigned to them. The messages are printed in the log of the ZooKeeper.

Notice: What the namespace quota means is the count quota which limits the number of children under the path(included itself).

$ bin/zkCli.sh -server host:port**

The above command gives you a command line option of using quotas.

Setting Quotas

Listing Quotas

You can use listquota to list a quota on a ZooKeeper node.

Deleting Quotas

You can use delquota to delete quota on a ZooKeeper node.