Managing ClustersPDF version

Starting, Stopping, and Restarting Cloudera Manager Agents

To start Agents, the supervisord process, and all managed service processes, use the following command:
  • Start
    sudo systemctl start cloudera-scm-agent
    
To stop or restart Agents while leaving the managed processes running, use one of the following commands:
  • Stop
    sudo systemctl stop cloudera-scm-agent
    
  • Restart
    sudo systemctl restart cloudera-scm-agent
    
To stop or restart Agents, the supervisord process, and all managed service processes, use one of the following commands:
  • Hard Stop
    RHEL 7, SLES 12, Ubuntu 16.04
    sudo systemctl stop cloudera-scm-supervisord.service
    
    RHEL 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
    sudo systemctl stop cloudera-scm-agent
    
  • Hard Restart
    RHEL 7, SLES 12, Debian 8, Ubuntu 16.04 and higher
    sudo systemctl stop cloudera-scm-supervisord.service
    sudo systemctl restart cloudera-scm-agent
    
    RHEL 5 or 6, SLES 11, Debian 6 or 7, Ubuntu 12.04, 14.04
    sudo systemctl restart cloudera-scm-agent
    
    Hard restart is useful for the following situations:
    • 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.
To check the status of the Agent process, use the command:
sudo systemctl status cloudera-scm-agent

We want your opinion

How can we improve this page?

What kind of feedback do you have?