CDH 5.7.0安装,cm agent无法启动
Posted duaner92
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CDH 5.7.0安装,cm agent无法启动相关的知识,希望对你有一定的参考价值。
我们在部署完CDH 5.7.0和CM 5.7.0后,开始启动CM Agent,但是会出现下面的错误:
# cloudera-scm-agent start
Starting cloudera-scm-agent: [FAILED]
问题查找
# cat /opt/cloudera-manager/cm-5.7.0/log/cloudera-scm-agent/cloudera-scm-agent.out
/opt/cloudera-manager/cm-5.7.0/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.7.0-py2.6.egg/cmf/parcel.py:17: DeprecationWarning: the sets module is deprecated
from sets import Set
[10/Apr/2016 22:08:07 +0000] 5897 MainThread agent INFO SCM Agent Version: 5.7.0
Unable to create the pidfile.
解决办法:
mkdir /opt/cm-5.7.0/run/cloudera-scm-agent
chown -R cloudera-scm:cloudera-scm /opt/cm-5.7.0/run/cloudera-scm-agent
以上是关于CDH 5.7.0安装,cm agent无法启动的主要内容,如果未能解决你的问题,请参考以下文章