我已经成功安装了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管理器上安装我的集群时出现的问题。
发布于 2013-07-18 20:50:13
我也遇到了类似的问题,结果发现这个问题很方便(不幸地)跳过了……无密码SSH密钥……步骤
经过几个小时的思考,我意识到了这一点。
在终端do,
ls -al ~/.ssh您必须看到这样的文件:
abc
abc.pub这些是您的公钥/私钥对。不一定要与您在Setting up SSH public/private keys步骤中为您的机器使用的above.The文件名相同。
您需要将abc.pub中的数据复制到同一文件夹中的文件authorized_keys中。如果不存在,则创建authorized_keys。以防您没有公钥/私钥对see here
发布于 2013-08-15 02:08:38
对于ubuntu,这个问题通常是由于"ubuntu 127.0.1.1“的关联造成的。在您的/etc/hosts文件中。对我来说,把它改成"ubuntu 127.0.0.1",这是标准的本地环回,我就可以成功添加集群了。希望这能有所帮助!
发布于 2014-05-06 02:51:22
我在这个问题上挣扎了两天。按照"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“。我还得到了一个额外的选项卡"Currently Hosts(1)",其中列出了本地主机。
https://stackoverflow.com/questions/17692776
复制相似问题