You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by John Lilley <jo...@redpoint.net> on 2013/09/20 02:11:31 UTC

How to get number of data nodes as a hadoop client

How does a Hadoop client query the number of datanodes in a Hadoop cluster?  I see getClusterNodes() in the RM protocol, but I'm having a hard time mapping that to a public class/interface that a client would use.
Looking at it more carefully, I'd really like query the nodes in a specific queue or the "default queue", if there is such a thing.
Thanks
john


RE: How to get number of data nodes as a hadoop client

Posted by John Lilley <jo...@redpoint.net>.
Never mind, its in the ApplicationClientProtocol class.
John


From: John Lilley [mailto:john.lilley@redpoint.net]
Sent: Thursday, September 19, 2013 6:12 PM
To: user@hadoop.apache.org
Subject: How to get number of data nodes as a hadoop client

How does a Hadoop client query the number of datanodes in a Hadoop cluster?  I see getClusterNodes() in the RM protocol, but I'm having a hard time mapping that to a public class/interface that a client would use.
Looking at it more carefully, I'd really like query the nodes in a specific queue or the "default queue", if there is such a thing.
Thanks
john


RE: How to get number of data nodes as a hadoop client

Posted by John Lilley <jo...@redpoint.net>.
Never mind, its in the ApplicationClientProtocol class.
John


From: John Lilley [mailto:john.lilley@redpoint.net]
Sent: Thursday, September 19, 2013 6:12 PM
To: user@hadoop.apache.org
Subject: How to get number of data nodes as a hadoop client

How does a Hadoop client query the number of datanodes in a Hadoop cluster?  I see getClusterNodes() in the RM protocol, but I'm having a hard time mapping that to a public class/interface that a client would use.
Looking at it more carefully, I'd really like query the nodes in a specific queue or the "default queue", if there is such a thing.
Thanks
john


RE: How to get number of data nodes as a hadoop client

Posted by John Lilley <jo...@redpoint.net>.
Never mind, its in the ApplicationClientProtocol class.
John


From: John Lilley [mailto:john.lilley@redpoint.net]
Sent: Thursday, September 19, 2013 6:12 PM
To: user@hadoop.apache.org
Subject: How to get number of data nodes as a hadoop client

How does a Hadoop client query the number of datanodes in a Hadoop cluster?  I see getClusterNodes() in the RM protocol, but I'm having a hard time mapping that to a public class/interface that a client would use.
Looking at it more carefully, I'd really like query the nodes in a specific queue or the "default queue", if there is such a thing.
Thanks
john


RE: How to get number of data nodes as a hadoop client

Posted by John Lilley <jo...@redpoint.net>.
Never mind, its in the ApplicationClientProtocol class.
John


From: John Lilley [mailto:john.lilley@redpoint.net]
Sent: Thursday, September 19, 2013 6:12 PM
To: user@hadoop.apache.org
Subject: How to get number of data nodes as a hadoop client

How does a Hadoop client query the number of datanodes in a Hadoop cluster?  I see getClusterNodes() in the RM protocol, but I'm having a hard time mapping that to a public class/interface that a client would use.
Looking at it more carefully, I'd really like query the nodes in a specific queue or the "default queue", if there is such a thing.
Thanks
john