Stopping or Restarting Cloudera Manager Agents
Usually (during an upgrade to a new version of Cloudera Manager, for example) you want to stop or restart the Agents while leaving the processes they manage running. To do this, use one of the following commands on every Agent host.
- To stop the Agent itself, but leave the processes it manages running:
$ sudo service cloudera-scm-agent stop
- To restart a running Agent without restarting any of the processes it manages:
$ sudo service cloudera-scm-agent restart
If you want to stop or restart the Agents themselves and the services they manage, use one of the following commands on every Agent host.
- To stop the Agent and the processes it manages:
$ sudo service cloudera-scm-agent hard_stop
- To restart the running Agent and the processes it manages:
$ sudo service cloudera-scm-agent hard_restart
When an Agent is stopped using either of the stop or hard_stop commands, you cannot use either of the restart or hard_restart commands to start it. You must use the following start command to start a stopped agent regardless of how you stopped it:
$ sudo service cloudera-scm-agent start
<< |