Hadoop 配置主机时抛出错误

Hadoop 配置主机时抛出错误,hadoop,hortonworks-data-platform,ambari,Hadoop,Hortonworks Data Platform,Ambari,在Ambari主机设置中执行confim主机步骤时,会引发以下错误。有没有办法解决这个问题 ERROR 2015-09-18 14:32:43,574 main.py:137 - Ambari agent machine hostname (INLL50901688A.xxx) does not match expected ambari server hostname (inll50901688a.xxx). Aborting registration. Please check hostna

在Ambari主机设置中执行confim主机步骤时,会引发以下错误。有没有办法解决这个问题

ERROR 2015-09-18 14:32:43,574 main.py:137 - Ambari agent machine hostname (INLL50901688A.xxx) does not match expected ambari server hostname (inll50901688a.xxx). Aborting registration. Please check hostname, hostname -f and /etc/hosts file to confirm your hostname is setup correctly
', None)

主机名的大小写似乎不匹配。检查DNS或主机文件中的hoat name大小写是否与您向Ambari注册的主机名一致。

Ambari似乎不接受包含大写字母的主机名。不得不修改/etc/HOSTNAME和/etc/hosts,以便在较小的情况下使用主机名