Created on 01-29-2015 12:23 AM - edited 09-16-2022 02:20 AM
Hi ,
I am new to cloudera community.
on : Ubuntu : 12.04
got multiple file permission errors when i tried to enable HDFS service from the clouder manager. I believe it would be same for other services.
+ exec /opt/cloudera/parcels/CDH-5.3.0-1.cdh5.3.0.p0.30/lib/hadoop-hdfs/bin/hdfs --config /run/cloudera-scm-agent/process/21-hdfs-NAMENODE-format namenode -format -clusterId cluster4 -nonInteractive log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /var/log/hadoop-hdfs/hdfs-audit.log (No such file or directory)
full log : https://drive.google.com/file/d/0B9WOaTjiz-szMkhFLWhGamlZdmc/view?usp=sharing
using single user mode : cloudera-scm
Is there something which I missed to configure. Please suggest.
Thanks
Created on 01-29-2015 11:26 AM - edited 02-27-2015 06:12 PM
Single user mode requires that you change the default configuration for all log and data directories to ones that are writable by the cloudera-scm user. The root cause for the failure you're seeing is that /dfs/nn cannot be created by the cloudera-scm user.
Please refer to the single user documentation for all the necessary steps to configure your cluster: http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/install_singleuser_reqt...
Created on 01-29-2015 11:26 AM - edited 02-27-2015 06:12 PM
Single user mode requires that you change the default configuration for all log and data directories to ones that are writable by the cloudera-scm user. The root cause for the failure you're seeing is that /dfs/nn cannot be created by the cloudera-scm user.
Please refer to the single user documentation for all the necessary steps to configure your cluster: http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/install_singleuser_reqt...