cloudera-manager-el6-cm5.7.0版本啟動Agent失敗的問題解決
阿新 • • 發佈:2019-02-05
我們在部署完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版本的問題。
# 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版本的問題。