[解决]离线安装cloudera-scm-agent5.7的Unable to create the pidfile问题

[解决]离线安装cloudera-scm-agent5.7的Unable to create the pidfile问题

在离线安装Cloudera Manager启动agent出现了如下异常:

/opt/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
[27/May/2016 18:15:16 +0000] 31760 MainThread agent        INFO     SCM Agent Version: 5.7.0
Unable to create the pidfile.

看似python代码中的问题,google了一把,实际上是某个目录无法创建导致的,解决方法:

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

重启cloudera-scm-agent问题解决

/opt/cm-5.7.0/etc/init.d/cloudera-scm-agent restart 

附cloudera manager离线安装包下载的路径:

http://archive.cloudera.com/cm5/cm/5/

下载最新安装包:

cloudera-manager-el6-cm5.7.0_x86_64.tar.gz

你可能感兴趣的:(Cloudera)