hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Lilley <john.lil...@redpoint.net>
Subject How to get number of data nodes as a hadoop client
Date Fri, 20 Sep 2013 00:11:31 GMT
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


Mime
View raw message