Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

zookeeper web url

avatar
Master Collaborator

Hi:

Please from HUe, which url I need to type for znode browsing, i meand this rest_url=http://localhost:9998

###########################################################################
# Settings to configure the Zookeeper application.
###########################################################################
[zookeeper]
  [[clusters]]
    [[[default]]]
      # Zookeeper ensemble. Comma separated list of Host/Port.
      # e.g. localhost:2181,localhost:2182,localhost:2183
      host_ports=host1:2181,host2:2181,host3:2181


      # The URL of the REST contrib service (required for znode browsing).
      ## rest_url=http://localhost:9998

      # Name of Kerberos principal when using security.
      ## principal_name=zookeeper


1 ACCEPTED SOLUTION

avatar

@Roberto Sancho If you have already started zookeeper rest service then by default port will be 9998 on host running rest service.

Refer this https://github.com/apache/zookeeper/tree/trunk/src/contrib/rest for installing and starting rest.

View solution in original post

3 REPLIES 3

avatar

@Roberto Sancho If you have already started zookeeper rest service then by default port will be 9998 on host running rest service.

Refer this https://github.com/apache/zookeeper/tree/trunk/src/contrib/rest for installing and starting rest.

avatar
Master Collaborator

Ok.many thanks, how to see who is my root znode ?? host1:2181,host2:2181,host3:2181

avatar

Root node is nothing but znodes/v1/