index.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <html>
  2. <h1>ZooKeeper Browser</h1>
  3. <p>The main two features are:</p>
  4. <ul>
  5. <li>Listing of the ZooKeeper cluster stats and clients</li>
  6. <li>Browsing and edition of the ZNode hierarchy</li>
  7. </ul>
  8. <p>ZooKeeper Browser requires the <a href="https://github.com/apache/zookeeper/tree/trunk/src/contrib/rest">ZooKeeper
  9. REST</a>
  10. service to be running. Here is how to setup this one:</p>
  11. <p>First get and build ZooKeeper:</p>
  12. <pre>
  13. git clone https://github.com/apache/zookeeper
  14. cd zookeeper
  15. ant
  16. Buildfile: /home/hue/Development/zookeeper/build.xml
  17. init:
  18. [mkdir] Created dir: /home/hue/Development/zookeeper/build/classes
  19. [mkdir] Created dir: /home/hue/Development/zookeeper/build/lib
  20. [mkdir] Created dir: /home/hue/Development/zookeeper/build/package/lib
  21. [mkdir] Created dir: /home/hue/Development/zookeeper/build/test/lib
  22. ...
  23. </pre>
  24. <p>And start the REST service:</p>
  25. <pre>
  26. cd src/contrib/rest
  27. nohup ant run&
  28. </pre>
  29. <p>If ZooKeeper and the REST service are not on the same machine as Hue, go
  30. update the <a href="https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini#L581">Hue
  31. settings</a>
  32. and specify the correct hostnames and ports:</p>
  33. <pre>
  34. [zookeeper]
  35. [[clusters]]
  36. [[[default]]]
  37. # Zookeeper ensemble. Comma separated list of Host/Port.
  38. # e.g. localhost:2181,localhost:2182,localhost:2183
  39. ## host_ports=localhost:2181
  40. # The URL of the REST contrib service
  41. ## rest_url=http://localhost:9998
  42. </pre>
  43. </html>