异常信息如下:

离线安装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 deprecatedfrom sets import Set
 
 
解决办法:/opt/cloudera-manager/cm-5.7.0/run 目录下新建mkdir /opt/cloudera-manager/cm-5.7.0/run/cloudera-scm-agent
 并授予权限sudo chown -R cloudera-scm:cloudera-scm cloudera-scm-agent
05-11 13:11