Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

YARN Failed to start in CDH 5.7.1 (Cloudera Manager), Permission Denied to Supervisor.conf

avatar
New Contributor

Hi,

 

I have installed Cloudera 5.7.1 using CentOS 7. Issue is that resource manager is not starting in YARN MR2.

 

Error is permission denied, below is the snippet from stderr.log file.

At present supervisor.conf file is being created as root user with read permission only to root, that might be the reason, however, i am not sure why would that be the case.

 

Please help.

 

+ ADD_TO_CP=/usr/share/cmf/lib/plugins/event-publish-5.7.1-shaded.jar:/usr/share/cmf/lib/plugins/tt-instrumentation-5.7.1.jar:
+ [[ -n '' ]]
+ eval 'OLD_VALUE=$HADOOP_CLASSPATH'
++ OLD_VALUE=
+ NEW_VALUE=/usr/share/cmf/lib/plugins/event-publish-5.7.1-shaded.jar:/usr/share/cmf/lib/plugins/tt-instrumentation-5.7.1.jar:
+ export HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/event-publish-5.7.1-shaded.jar:/usr/share/cmf/lib/plugins/tt-instrumentation-5.7.1.jar
+ HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/event-publish-5.7.1-shaded.jar:/usr/share/cmf/lib/plugins/tt-instrumentation-5.7.1.jar
+ set -x
+ replace_conf_dir
+ find /run/cloudera-scm-agent/process/207-yarn-RESOURCEMANAGER -type f '!' -path '/run/cloudera-scm-agent/process/207-yarn-RESOURCEMANAGER/logs/*' '!' -name '*.log' '!' -name '*.keytab' '!' -name '*jceks' -exec perl -pi -e 's#{{CMF_CONF_DIR}}#/run/cloudera-scm-agent/process/207-yarn-RESOURCEMANAGER#g' '{}' ';'
Can't open /run/cloudera-scm-agent/process/207-yarn-RESOURCEMANAGER/supervisor.conf: Permission denied.
+ perl -pi -e 's#{{CGROUP_GROUP_CPU}}##g' /run/cloudera-scm-agent/process/207-yarn-RESOURCEMANAGER/yarn-site.xml

 

Thanks.

 

Who agreed with this topic