IP addresses of various daemons in Hadoop’s pseudo-distributed mode… here is a solution to the problem.
IP addresses of various daemons in Hadoop’s pseudo-distributed mode
I have installed Hadoop 2.7.1 in pseudo-distributed mode. What is the IP of the following daemon:
IP address of Namenode?
IP address of Datanode?
IP address of Resource Manager?
IP address of Node Manager?
The /etc/hosts
file on my machine reads as follows:
127.0.0.1 localhost
127.0.1.1 linuxPC
linuxPC is the name of my machine.
Solution
For pseudo-distributed, use localhost
for all daemons. 127.0.0.1
is the standard IP used for localhost
.
If you need to access the cluster from outside the host, use the actual IP address of the host.