Reply
Explorer
Posts: 15
Registered: ‎04-17-2014

Re: how to start hadoop-yarn-nodemanager on multinode cluster runs CDH5 with YARN

Sorry, I posted the old hosts file,

This one is from the Resource Manager node which is exactly as same as hosts file on all other nodes

[root@hdmachine1 conf.my_cluster]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain 
::1         localhost localhost.localdomain 

128.243.29.224	hdmachine1.example.com	node1

128.243.29.227	hdmachine3.example.com	node3
128.243.29.228	hdmachine4.example.com	node4
128.243.29.229	hdmachine5.example.com	node5
128.243.29.226	hdmachine6.example.com	node6
128.243.29.233	hdmachine7.example.com	node7
128.243.29.232	hdmachine8.example.com	node8
128.243.29.231	hdmachine9.example.com	node9
128.243.29.230	hdmachine10.example.com	node10
128.243.29.234	hdmachine11.example.com	node11
128.243.29.235	hdmachine12.example.com	node12

 

Expert Contributor
Posts: 101
Registered: ‎01-24-2014

Re: how to start hadoop-yarn-nodemanager on multinode cluster runs CDH5 with YARN

Have you restarted after your new hosts file was deployed on each node?  Java does cache lookups by default. 

Explorer
Posts: 15
Registered: ‎04-17-2014

Re: how to start hadoop-yarn-nodemanager on multinode cluster runs CDH5 with YARN

Every single node was restarted and every single service was restarted as well

Cloudera Employee
Posts: 578
Registered: ‎01-20-2014

Re: how to start hadoop-yarn-nodemanager on multinode cluster runs CDH5 with YARN

[ Edited ]

Please run these on hdmachine3:


$ grep ^hosts /etc/nsswitch.conf

 

$ ping hdmachine1.example.com


$ traceroute hdmachine1.example.com

 

$ traceroute 128.243.29.224

Regards,
Gautam Gopalakrishnan
Highlighted
Explorer
Posts: 15
Registered: ‎04-17-2014

Re: how to start hadoop-yarn-nodemanager on multinode cluster runs CDH5 with YARN

Sorry for this late reply,

 

I was out of the city and I didn't have any access to the Uni network, here is te output as you requested, 

[hduser@hdmachine3 ~]$ grep ^hosts /etc/nsswitch.conf
hosts:      files dns

[hduser@hdmachine3 ~]$ ping hdmachine3.example.com
PING hdmachine3.example.com (128.243.29.227) 56(84) bytes of data.
64 bytes from hdmachine3.example.com (128.243.29.227): icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from hdmachine3.example.com (128.243.29.227): icmp_seq=2 ttl=64 time=0.029 ms
^C
--- hdmachine3.example.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1637ms
rtt min/avg/max/mdev = 0.029/0.035/0.041/0.006 ms


[hduser@hdmachine3 ~]$ traceroute hdmachine1.example.com
traceroute to hdmachine1.example.com (128.243.29.224), 30 hops max, 60 byte packets
 1  hdmachine1.example.com (128.243.29.224)  0.529 ms  0.513 ms  0.498 ms

[hduser@hdmachine3 ~]$  traceroute 128.243.29.224
traceroute to 128.243.29.224 (128.243.29.224), 30 hops max, 60 byte packets
 1  hdmachine1.example.com (128.243.29.224)  0.531 ms  0.514 ms  0.500 ms
[hduser@hdmachine3 ~]$ 

 

I would like to let you know that nothing is wrong with the netwrok, and I implemented the cluster with another set of machines, it workded really with the same configurations