Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hadoop NameNode Ip Address

I'm using Hadoop MapReduce paradigm, and i need to get the NameNode IP address from the DataNode, can any one give me an idea how to do this?

Thanks.

like image 472
mohamus Avatar asked Sep 05 '25 01:09

mohamus


1 Answers

Easiest way would be to quickly open the core-site.xml file under HADOOP_HOME/conf directory. The value of fs.default.name property will tell you the host and port where NN is running.

like image 188
Tariq Avatar answered Sep 07 '25 07:09

Tariq