cloudera-manager-el6-cm5.7.0版本启动Agent失败的问题解决

Lihaifanzhou 2017-12-29 09:46:53
我们在部署完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


然后再重启CM Agent就可以了,不知道是不是CDH 5.7.0版本的问题。
...全文
440 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

7,765

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧