1

我已成功安装Cloudera管理器。它显示当前托管主机为127.0.0.1,并处于活动状态。Cloudera集群安装过程中的错误?

当我在加载后使用cloudera管理器搜索和安装集群时,它显示以下错误。

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. 
    Check agent logs in /var/log/cloudera-scm-agent/ on the host being added (some of the logs can be found in the installation details). 

下图清楚地显示了在cloudera管理器上安装集群时的问题。

回答

2

我有一个类似的问题,原来的问题是方便跳跃(不幸)的...密码的SSH密钥...一步

几个小时后,打破了我的头在它,我意识到这一点。

在终端做,

ls -al ~/.ssh 

你必须看到这样的文件,

abc 
abc.pub 

这些都是你的公钥/私钥对。 [不一定与上面的名称相同]。在您的机器上使用Setting up SSH public/private keys步骤中使用的文件名。

您需要将abc.pub中的数据复制到此文件夹中的文件authorized_keys。如果它不存在,则创建authorized_keys。 因为您没有公钥/私钥对see here

2

对于ubuntu,问题通常是因为“ubuntu 127.0.1.1”的关联。在你的/ etc/hosts文件中。对于我来说,在将其更改为标准本地环回“ubuntu 127.0.0.1”之后,我可以成功添加群集。希望这可以帮助!

2

我在这个问题上挣扎了两天。按照“khoadoan”的建议修复/etc/hosts为我工作。

/etc/hosts中一直在寻找这样的,当我有问题

127.0.0.1 localhost 
127.0.1.1 ubuntu 

我改成了这样:重新启动机器

127.0.0.1 localhost 
127.0.0.1 ubuntu 

sudo init 6 

启动Cloudera Manager Admin页面。这一次主机状态已经显示出“Managed = Yes”。我还有一个额外的选项卡“当前托管主机(1)”,其中列出了本地主机。