码迷,mamicode.com
首页 > 其他好文 > 详细

CDH 5.7.0安装,cm agent无法启动

时间:2018-10-12 14:12:48      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:python2.6   idf   错误   pytho   build   int   cloudera   imp   uil   

我们在部署完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无法启动

标签:python2.6   idf   错误   pytho   build   int   cloudera   imp   uil   

原文地址:https://www.cnblogs.com/duaner92/p/9777470.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!