cloudera-scm-agent start 启动失败

cloudera-scm-agent start 启动失败

# /opt/cm-5.7.0/etc/init.d/cloudera-scm-agent start Starting cloudera-scm-agent: [FAILED]

查询日志

# cd /opt/cm-5.7.0/log/cloudera-scm-agent/ # ls cloudera-scm-agent.out # cat cloudera-scm-agent.out [22/Jun/2016 11:02:09 +0000] 3695 MainThread agent INFO SCM Agent Version: 5.7.0 Unable to create the pidfile.

原因

经过查找后发现/opt/cm-5.7.0/run目录下没有cloudera-scm-agent文件夹

# cd /opt/cm-5.7.0/run/ # ls cloudera-scm-server

解决方法

# mkdir /opt/cm-5.7.0/run/cloudera-scm-agent

你可能感兴趣的:(CDH)