Member since
03-06-2015
8
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3959 | 03-06-2015 10:51 PM |
03-06-2015
10:51 PM
Solved the issue, It was the etc/hosts file causing issue. Had to add the highlighted red text on the etc/hosts file 127.0.0.1 localhost.hadoopdomain localhost ::1 localhost.hadoopdomain localhost 127.0.0.1 localhost.localdomain localhost 127.0.0.1 localdomain localhost 192.168.1.8 base.hadoopdomain.com base base.hadoopdomain 192.168.1.6 node1.hadoopdomain.com node1 node1.hadoopdomain 192.168.1.7 node2.hadoopdomain.com node2 node2.hadoopdomain Regards, Pranay Vyas
... View more
03-06-2015
10:49 PM
Samuel, Can you try a ping from your node - ping google.com see if your node has access to internet. Cloudera Manager during its installation process refers to Interenet to download various components. Regards, Pranay Vyas
... View more
03-06-2015
10:45 PM
Solved it. The issue was with /etc/hosts file. For some reason the Cloudera Manager was referring to localdomain which was not part of my /etc/host file Had to add highlighted red texts on /etc/host file to resolve this error. 127.0.0.1 localhost.hadoopdomain localhost ::1 localhost.hadoopdomain localhost 127.0.0.1 localhost.localdomain localhost 127.0.0.1 localdomain localhost 192.168.1.8 base.hadoopdomain.com base base.hadoopdomain 192.168.1.6 node1.hadoopdomain.com node1 node1.hadoopdomain 192.168.1.7 node2.hadoopdomain.com node2 node2.hadoopdomain Regards, Pranay Vyas
... View more
03-06-2015
07:20 PM
Okay, I was able to pass through the dns issue and changed the nsswitch on all nodes to files dns. I uninstalled CLoudera manager and started all again. It failed with the same error. Installation failed. Failed to receive heartbeat from agent. Ensure that the host's hostname is configured properly. Ensure that port 7182 is accessible on the Cloudera Manager server (check firewall rules). Ensure that ports 9000 and 9001 are free on the host being added. [Errno 99] Cannot assign requested address on ('base.hadoopdomain', 9000) -- [Errno 99] Cannot assign requested address The Python socket command still give incorrect IP [root@base ~]# python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())' base.hadoopdomain 198.105.254.228 It gives same IP on all the nodes. THe FQDN comes correctly. Regards, Pranay Vyas
... View more
03-06-2015
06:24 PM
Thanks for your response, I changed the NSSWITCH host to file dns. Now I am not able to ping any outside site. Google.com returns not found. buti get response when I ping the IP. any idea what's causing it? Regards, Pranay Vyas
... View more
03-06-2015
01:13 PM
How did you solve the DNS issue. When I ran the Python command the FQDN is correct, but I get a 198 IP. I dont know where this is coming from. I have a 3 node cluster and hosts file defined correctly on all 3 nodes. The Python returns incorrect IP on all 3 nodes. python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())' node2.hadoopdomain 198.105.254.228 while the node is is on 192.168.1.6 IP. Any ideas? Thank You, Pranay Vyas
... View more
03-06-2015
01:10 PM
Hi All, Issue Getting Error while Installing Cloudera on Nodes -agent/supervisor/include
>>[06/Mar/2015 13:41:04 +0000] 1625 MainThread agent INFO Connecting to previous supervisor: agent-1084-1425670563.
>>[06/Mar/2015 13:41:04 +0000] 1625 MainThread _cplogging INFO [06/Mar/2015:13:41:04] ENGINE Bus STARTING
>>[06/Mar/2015 13:41:04 +0000] 1625 MainThread _cplogging INFO [06/Mar/2015:13:41:04] ENGINE Started monitor thread '_TimeoutMonitor'.
>>[06/Mar/2015 13:41:05 +0000] 1625 HTTPServer Thread-2 _cplogging ERROR [06/Mar/2015:13:41:05] ENGINE Error in HTTP server: shutting down
>>Traceback (most recent call last):
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/process/servers.py", line 187, in _start_http_thread
>> self.httpserver.start()
>> File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/CherryPy-3.2.2-py2.6.egg/cherrypy/wsgiserver/wsgiserver2.py", line 1825, in start
>> raise socket.error(msg)
>>error: No socket could be created on ('node2.hadoopdomain', 9000) -- [Errno 99] Cannot assign requested address on ('node2.hadoopdomain', 9000) -- [Errno 99] Cannot assign requested address My Configuration 3 Node Cluster /etc/hosts as 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.5 base.hadoopdomain.com hadoop1 192.168.1.6 node1.hadoopdomain.com hadoop2 192.168.1.7 node2.hadoopdomain.com hadoop3 IPV6 Disabled, IP are DHCP assigned and same as shown above, SELINUX disabled, followed all other steps as mentioned anywhere else. Incorrect IP on Python gethostname Command python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())' node2.hadoopdomain 198.105.254.228 The FQDN is right but IP is incorrect. its the same on all the nodes. Python says IPV6 as true python -c 'import socket; print socket.has_ipv6' True same on all nodes. Appreciate your assitance. Regards, Pranay Vyas
... View more
Labels:
- Labels:
-
Cloudera Manager