Member since
08-29-2013
8
Posts
1
Kudos Received
0
Solutions
09-03-2013
11:45 AM
1 Kudo
Thank you for all of your help! I'm on Ubuntu, so no /etc/sysconfig/network file. However, I did add "IP FQDN shortname" into the hosts file which seemed to solve the hostname -f issue. I then ran the 3rd command successfully. Then when I went back to the GUI to setup the hosts, it said that the host already existed on the machine, so I just added the parcels to that machine. I am now to the point where everything appears to be installed and I'm configuring/fixing the health. Thank you so much for your help! -Meredith
... View more
08-29-2013
11:25 AM
Accumulo3.local is what I currently have in the hosts file as the FQDN since it's not a networked machine. I have tried it with just Accumulo3 as well.
... View more
08-29-2013
11:23 AM
root@Accumulo3:/var/log/cloudera-scm-agent# hostname Accumulo3 root@Accumulo3:/var/log/cloudera-scm-agent# hostname -f hostname: Name or service not known root@Accumulo3:/var/log/cloudera-scm-agent# python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())' Accumulo3 Traceback (most recent call last): File "<string>", line 1, in <module> socket.gaierror: [Errno -5] No address associated with hostname
... View more
08-29-2013
11:11 AM
Hello all, I ran into an issue when installing the CDH cluster. I'm trying to install on a single machine. I selected the machine, parcels and am trying to do it as root. At the end of the installation I receiving the following error messages: "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)." I've found this error in some other forums and attempted to make the changes suggested in those places. These are the contents of my hosts file (I've also tried it with the localhosts line commented out). 127.0.0.1 localhost 192.168.xx.xx FQDN # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters This is my netstat for the port, I assume it's just Cloudera Manager listening. I did specifically open the port on the firewall. netstat -ntlp | grep :7182 tcp 0 0 0.0.0.0:7182 0.0.0.0:* LISTEN 1861/java Here are the contents of cloudera-scm-agent.out: [29/Aug/2013 10:24:31 +0000] 2867 MainThread agent INFO SCM Agent Version: 4.6.3 [29/Aug/2013 10:24:31 +0000] 2867 MainThread agent ERROR Could not determine hostname or ip address; proceeding. Traceback (most recent call last): File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1573, in parse_arguments ip_address = socket.gethostbyname(fqdn) gaierror: [Errno -5] No address associated with hostname usage: agent.py [-h] [--agent_dir AGENT_DIR] [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir PACKAGE_DIR [--parcel_dir PARCEL_DIR] [--supervisord_path SUPERVISORD_PATH] [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT] [--standalone STANDALONE] [--master MASTER] [--environment ENVIRONMENT] [--host_id HOST_ID] [--disable_supervisord_events] --hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls] [--client_key_file CLIENT_KEY_FILE] [--client_cert_file CLIENT_CERT_FILE] [--verify_cert_file VERIFY_CERT_FILE] [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE] [--logdir LOGDIR] [--optional_token] [--clear_agent_dir] agent.py: error: argument --hostname is required [29/Aug/2013 10:24:31 +0000] 2867 Dummy-1 agent INFO Stopping agent... I also have the cloudera-scm-agent.log if that would be helpful. The only errors that I see in there are: [28/Aug/2013 11:58:13 +0000] 25640 MainThread agent ERROR Failed to connect to newly launched supervisor. Agent will exit . . . [28/Aug/2013 11:52:44 +0000] 24811 MainThread agent INFO Trying to connect to newly launched supervisor (Attempt 4) [28/Aug/2013 11:52:44 +0000] 24811 MainThread agent ERROR Failed! trying again in 1 second(s) Any help would be much appreciated. Thank you, Meredith
... View more
Labels: