Starting, Stopping, and Restarting Cloudera Manager Agents
Starting Agents
To start Agents, the supervisord process, and all managed service processes, use one of the following commands:
- Start
$ sudo service cloudera-scm-agent start
- Clean Start
- RHEL-compatible 7 and higher:
$ sudo service cloudera-scm-agent next_start_clean $ sudo service cloudera-scm-agent start
- All other Linux distributions:
$ sudo service cloudera-scm-agent clean_start
- RHEL-compatible 7 and higher:
Stopping and Restarting Agents
To stop or restart Agents while leaving the managed processes running, use one of the following commands:
- Stop
$ sudo service cloudera-scm-agent stop
- Restart
$ sudo service cloudera-scm-agent restart
Hard Stopping and Restarting Agents
Warning: The hard stop, clean restart, and hard restart commands kill all running managed
service processes on the host(s) where the command is run.
To stop or restart Agents, the supervisord process, and all managed service processes, use one of the following commands:
- Hard Stop
- RHEL-compatible 7 and higher:
$ sudo service cloudera-scm-agent next_stop_hard $ sudo service cloudera-scm-agent stop
- All other Linux distributions:
$ sudo service cloudera-scm-agent hard_stop
- RHEL-compatible 7 and higher:
- Hard Restart
- RHEL-compatible 7 and higher:
$ sudo service cloudera-scm-agent next_stop_hard $ sudo service cloudera-scm-agent restart
- All other Linux distributions:
$ sudo service cloudera-scm-agent hard_restart
- You are upgrading Cloudera Manager and the supervisord code has changed between your current version and the new one. To properly do this upgrade you need to restart supervisor too.
- supervisord freezes and needs to be restarted.
- You want to clear out all running state pertaining to Cloudera Manager and managed services.
- RHEL-compatible 7 and higher:
- Clean Restart
- RHEL-compatible 7 and higher:
$ sudo service cloudera-scm-agent next_start_clean $ sudo service cloudera-scm-agent restart
- All other Linux distributions:
$ sudo service cloudera-scm-agent clean_restart
Runs hard_stop followed by clean_start.
- RHEL-compatible 7 and higher:
Checking Agent Status
To check the status of the Agent process, use the command:
$ sudo service cloudera-scm-agent status
Page generated July 8, 2016.
<< Cloudera Manager Agents | ©2016 Cloudera, Inc. All rights reserved | Configuring Cloudera Manager Agents >> |
Terms and Conditions Privacy Policy |