我是第一次安装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).
然后在日志文件中,我发现:
^{pr2}$在/var/log/cloudera scm agent/cloudera scm中-探员。出去文件,我发现:
[21/Oct/2014 11:29:15 +0000] 1658 MainThread agent INFO Logging to /var/log/cloudera-scm-agent/cloudera-scm-agent.log
Error: could not find config file /var/run/cloudera-scm-agent/supervisor/supervisord.conf
For help, use /usr/lib64/cmf/agent/src/cmf/agent.py -h
....
Session terminated, killing shell... ...killed.
然后我运行:/usr/lib64/cmf/agent/src/cmf/代理.py-h
系统告诉我:
/usr/lib64/cmf/agent/src/cmf/agent.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 40, in <module>
import cmf.alternatives
ImportError: No module named cmf.alternatives
我的环境是:centos 6.5,Python 2.6.6,Cloudera manage server是5.2
所以,我想知道要安装哪个模块来修复这个错误。在
或者如何在安装中配置使用cmf模块?在
我在哪里可以找到一个描述cloudera的python的文档?
非常感谢。在
嗨,您只需按照说明操作,将
sha
替换为hashlib
,然后再试一次。在相关问题 更多 >
编程相关推荐