Way to get a list of Hadoop cluster machines from one of the data nodes

clusterdiscoveryhadoop

I have access to a data node in a Hadoop cluster, and I'd like to find out the identity of the name nodes for the same cluster. Is there a way to do this?

Best Answer

You can read the configuration file of the datanode, specifically hdfs-site.xml. It will list the namenode that the datanode will try to connect to.

Related Topic