index.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. <iframe frameborder="0" height="495" src="http://player.vimeo.com/video/79795356" width="900"></iframe>
  9. <p>ZooKeeper Browser requires the <a href="https://github.com/apache/zookeeper/tree/trunk/src/contrib/rest">ZooKeeper
  10. REST</a>
  11. service to be running. Here is how to setup this one:</p>
  12. <p>First get and build ZooKeeper:</p>
  13. <pre>
  14. git clone https://github.com/apache/zookeeper
  15. cd zookeeper
  16. ant
  17. Buildfile: /home/hue/Development/zookeeper/build.xml
  18. init:
  19. [mkdir] Created dir: /home/hue/Development/zookeeper/build/classes
  20. [mkdir] Created dir: /home/hue/Development/zookeeper/build/lib
  21. [mkdir] Created dir: /home/hue/Development/zookeeper/build/package/lib
  22. [mkdir] Created dir: /home/hue/Development/zookeeper/build/test/lib
  23. ...
  24. </pre>
  25. <p>And start the REST service:</p>
  26. <pre>
  27. cd src/contrib/rest
  28. nohup ant run&
  29. </pre>
  30. <p>If ZooKeeper and the REST service are not on the same machine as Hue, go
  31. update the <a href="https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini#L581">Hue
  32. settings</a>
  33. and specify the correct hostnames and ports:</p>
  34. <pre>
  35. [zookeeper]
  36. [[clusters]]
  37. [[[default]]]
  38. # Zookeeper ensemble. Comma separated list of Host/Port.
  39. # e.g. localhost:2181,localhost:2182,localhost:2183
  40. ## host_ports=localhost:2181
  41. # The URL of the REST contrib service
  42. ## rest_url=http://localhost:9998
  43. </pre>
  44. </html>