Reputation: 998
I have mistakenly deleted /var/log/*
folder, due to that the services were not starting in Cloudera which were installed in that specific node. And the log files are not getting generated. And no clear error message available in cloudera manager. Can someone please suggest me how to proceed further.
Please find the below image for your understanding.
Thanks in advance.
Upvotes: 1
Views: 76
Reputation: 1194
You need to create empty folders like
sudo mkdir -p /var/log/cloudera-scm-agent
sudo mkdir -p /var/log/hadoop-hdfs
sudo mkdir -p /var/log/cloudera-scm-server
sudo mkdir -p /var/log/hadoop-mapreduce
etc.. based on your services selected in Cloudera Manager. Because Cloudera doesn't create the log directories(It just creates the file)
You can test it by doing a global search in Cloudera Manager with /var/log
and you will find a lot of log directory names. Just created it. It should work
Upvotes: 1