File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Hadoop and the fly likes ZooKeeper  - getting hostnames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Hadoop
Bookmark "ZooKeeper  - getting hostnames" Watch "ZooKeeper  - getting hostnames" New topic

ZooKeeper - getting hostnames

Gary Houlihan

Joined: Aug 13, 2013
Posts: 1

Bit of a noob to ZooKeeper, I have a few services connected to ZooKeeper, I want to find out the hostnames of the PC's connected to these services.

Is this possible?

Do i need to change from using regular znodes to using Ephemeral nodes instead?

(like this article says )

Any help would be really appreciated.

I agree. Here's the link:
subject: ZooKeeper - getting hostnames
It's not a secret anymore!