All,

I am having a problem with Ambari.
I am trying to use Ambari to install Hadoop to a three node cluster. the
name node is where the Ambari server is located. I am getting this error:
ERROR 2014-12-12 17:39:56,963 main.py:137 – Ambari agent machine hostname
(localhost.localdomain) does not match expected ambari server hostname
(namenode). Aborting registration. Please check hostname, hostname -f and
/etc/hosts file to confirm your hostname is setup correctly
‘, None)

Here is the contents of my hosts file:
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4 localhost.namenode namenode
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
xxx.xxx.200.144 localhost.datanode10
xxx.xxx.200.107 localhost.datanode01
xxx.xxx.200.143 localhost.namenode namenode

I am not sure what the problem is. Since there are only four steps to run
ambari there is not a lot of background to determine the cause of this
problem.

David Novogrodsky
[email protected]
http://www.linkedin.com/in/davidnovogrodsky

Reply via email to