Merge pull request #1564 from 31z4/zookeeper

Update Zookeeper documentation
This commit is contained in:
Tianon Gravi 2019-09-02 07:59:05 -07:00 committed by GitHub
commit f373289117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -100,6 +100,12 @@ Defaults to `3`. Zookeeper's [`autoPurge.snapRetainCount`](https://zookeeper.apa
> When enabled, ZooKeeper auto purge feature retains the autopurge.snapRetainCount most recent snapshots and the corresponding transaction logs in the dataDir and dataLogDir respectively and deletes the rest. Defaults to 3. Minimum value is 3.
### `ZOO_4LW_COMMANDS_WHITELIST`
Defaults to `srvr`. Zookeeper's [`4lw.commands.whitelist`](https://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_clusterOptions)
> A list of comma separated Four Letter Words commands that user wants to use. A valid Four Letter Words command must be put in this list else ZooKeeper server will not enable the command. By default the whitelist only contains "srvr" command which zkServer.sh uses. The rest of four letter word commands are disabled by default.
## Replicated mode
Environment variables below are mandatory if you want to run Zookeeper in replicated mode.