This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Hadoop
Bookmark "ZooKeeper  - getting hostnames" Watch "ZooKeeper  - getting hostnames" New topic
Author

ZooKeeper - getting hostnames

Gary Houlihan
Greenhorn

Joined: Aug 13, 2013
Posts: 1
Hi,

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 http://developers.blog.box.com/2012/04/10/a-gotcha-when-using-zookeeper-ephemeral-nodes/ )

Any help would be really appreciated.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ZooKeeper - getting hostnames
 
Similar Threads
Accumulo, Zookeeper and Hadoop Integration
Problem in starting Nodemanager in weblogic 8.1
JDBC connection to Oracle 10g in a RAC cluster
Configuring Hadoop, HBase and Hive Cluster
RMI Client connecting to port other than 1099