Managing the Cloudera Manager Server Log
Continue reading:
Viewing the Log
To help you troubleshoot problems, you can view the Cloudera Manager Server log. You can view the logs in the Logs page or in specific pages for the log.
Viewing Cloudera Manager Server Logs in the Logs Page
- Select on the top navigation bar.
- Click Select Sources to display the log source list.
- Uncheck the All Sources checkbox.
- Click to the left of Cloudera Manager and select the Server checkbox.
- Click Search.
Viewing the Cloudera Manager Server Log
- Select on the top navigation bar.
Note: You can also view the Cloudera Manager Server log at /var/log/cloudera-scm-server/cloudera-scm-server.log on the Server host.
Setting the Cloudera Manager Server Log Location
By default the Cloudera Manager Server log is stored in /var/log/cloudera-scm-server/. If there is not enough space in that directory, you can change the location of the parent of the log directory:
- Stop the Cloudera Manager Server:
sudo service cloudera-scm-server stop
- Set the CMF_VAR environment variable in /etc/default/cloudera-scm-server to the new parent directory:
export CMF_VAR=/opt
- Create log/cloudera-scm_server and run directories in the new parent directory and set the owner and group of all
directories to cloudera-scm. For example, if the new parent directory is /opt/, do the following:
$ sudo su $ cd /opt $ mkdir log $ chown cloudera-scm:cloudera-scm log $ mkdir /opt/log/cloudera-scm-server $ chown cloudera-scm:cloudera-scm log/cloudera-scm-server $ mkdir run $ chown cloudera-scm:cloudera-scm run
- Restart the Cloudera Manager Server:
sudo service cloudera-scm-server start
Page generated May 18, 2018.
<< Moving the Cloudera Manager Server to a New Host | ©2016 Cloudera, Inc. All rights reserved | Cloudera Manager Agents >> |
Terms and Conditions Privacy Policy |