I have the following problem: These picture describe my Resource Manager on Hadoop Cluster, in node "Node HTTP Address" there are two nodes these address
- localhost:8042
- localhost:8042
Instead of that I want the real ip address of machine that host the node. My cluster configuration is
- First Machine with HadoopMaster and HadoopSlave1
- Second Machine with HadoopSlave 2
My /etc/host configuration on first machine:
127.0.0.1 localhost vlchaosfile001 vlchaosfil001
192.168.143.91 HadoopMaster HadoopSlave2
192.168.143.92 HadoopSlave1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
My /etc/host configuration on second machine:
127.0.0.1 localhost vlchaosfil002
192.168.143.91 HadoopMaster HadoopSlave2
192.168.143.92 HadoopSlave1
#following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
This is my yarn-site.xml:
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
<value>org.apache.hadoop.mapred.ShuffleHandler</value>
</property>
<property>
<name>yarn.resourcemanager.resource-tracker.address</name>
<value>HadoopMaster:8025</value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.address</name>
<value>HadoopMaster:8035</value>
</property>
<property>
<name>yarn.resourcemanager.address</name>
<value>HadoopMaster:8050</value>
</property>