1

我已成功安装 Cloudera 管理器。它将当前管理的主机显示为 127.0.0.1,并且它处于活动状态。

当我在加载后使用 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 manager 上安装集群时出现的问题。

4

3 回答 3

2

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

于 2013-08-14T18:08:38.340 回答
2

我遇到了类似的问题,结果发现问题是方便地跳过(不幸的是)...无密码的 SSH 密钥...步骤

经过几个小时的努力,我意识到了这一点。

在终端做,

ls -al ~/.ssh

你必须看到像这样的文件,

abc
abc.pub

这些是您的公钥/私钥对。[不一定与我上面的名称相同]。您在为您的机器设置 SSH 公钥/私钥 步骤中使用的文件名。

您需要将数据复制abc.pubauthorized_keys同一文件夹中的文件中。如果它不存在,请创建authorized_keys. 如果您没有公钥/私钥对,请参见此处

于 2013-07-18T12:50:12.563 回答
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 管理页面。这次主机状态已经显示为“Managed = Yes”。我得到了一个附加选项卡“当前管理的主机(1)”,其中列出了本地主机。

于 2014-05-05T18:51:21.590 回答