04-21-2014 05:35 AM
I'm following the installation guide at http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH5/latest/CDH5-Installation-Guide/c... My instances are on amazon ec2 and have ubuntu 12.04 installed.
Here it says that the DNS lookup using 'host -v -t A `hostname`' should should resolve to an ip address. But I'm not able to get the hostname mapped to an ip address.
my /etc/hosts file has the FQDN and /etc/hostname file has the hostname. The hostname, hostname -f, hostname -d commands work fine. 'ping' is able to resolve the ip from hostname and FQDN but 'host' or 'nslookup' commands do not work. How do I fix this?
05-03-2014 06:02 AM