-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
69 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
<link rel="stylesheet" href="docbook.css" type="text/css" media="screen" title="no title" charset="utf-8"></link> | ||
|
||
ZooKeeper Browser | ||
================= | ||
|
||
The main two features are: | ||
|
||
- Listing of the ZooKeeper cluster stats and clients | ||
- Browsing and edition of the ZNode hierarchy | ||
|
||
|
||
ZooKeeper Browser requires the [ZooKeeper | ||
REST](https://github.com/apache/zookeeper/tree/trunk/src/contrib/rest) | ||
service to be running. Here is how to setup this one: | ||
|
||
First get and build ZooKeeper: | ||
|
||
<pre> | ||
git clone https://github.com/apache/zookeeper | ||
cd zookeeper | ||
ant | ||
Buildfile: /home/hue/Development/zookeeper/build.xml | ||
|
||
init: | ||
[mkdir] Created dir: /home/hue/Development/zookeeper/build/classes | ||
[mkdir] Created dir: /home/hue/Development/zookeeper/build/lib | ||
[mkdir] Created dir: /home/hue/Development/zookeeper/build/package/lib | ||
[mkdir] Created dir: /home/hue/Development/zookeeper/build/test/lib | ||
|
||
... | ||
</pre> | ||
|
||
And start the REST service: | ||
|
||
<pre> | ||
cd src/contrib/rest | ||
nohup ant run& | ||
</pre> | ||
|
||
If ZooKeeper and the REST service are not on the same machine as Hue, go | ||
update the [Hue | ||
settings](https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini#L581) | ||
and specify the correct hostnames and ports: | ||
|
||
<pre> | ||
[zookeeper] | ||
|
||
[[clusters]] | ||
|
||
[[[default]]] | ||
# Zookeeper ensemble. Comma separated list of Host/Port. | ||
# e.g. localhost:2181,localhost:2182,localhost:2183 | ||
## host_ports=localhost:2181 | ||
|
||
# The URL of the REST contrib service | ||
## rest_url=http://localhost:9998 | ||
</pre> | ||
|