Starting, Stopping, and Restarting Services
Minimum Required Role: Operator (also provided by Configurator, Cluster Administrator, Full Administrator)
Starting and Stopping Services
It's important to start and stop services that have dependencies in the correct order. For example, because MapReduce and YARN have a dependency on HDFS, you must start HDFS before starting MapReduce or YARN. The Cloudera Management Service and Hue are the only two services on which no other services depend; although you can start and stop them at anytime, their preferred order is shown in the following procedures.
The Cloudera Manager cluster actions start and stop services in the correct order. To start or stop all services in a cluster, follow the instructions in Starting, Stopping, Refreshing, and Restarting a Cluster.
Starting a Service on All Hosts
- On the 
tab, click  to the right of the service name and select Start. to the right of the service name and select Start.
- Click Start in the next screen to confirm. When you see a Finished status, the service has started.
The order in which to start services is:
- Cloudera Management Service
- ZooKeeper
- HDFS
- Solr
- Flume
- HBase
- Key-Value Store Indexer
- MapReduce or YARN
- Hive
- Impala
- Oozie
- Sqoop
- Hue
 Note: If you are unable to start the HDFS service, it's possible that one of the roles instances,
such as a DataNode, was running on a host that is no longer connected to the Cloudera Manager Server host, perhaps because of a hardware or network failure. If this is the case, the Cloudera Manager
Server will be unable to connect to the Cloudera Manager Agent on that disconnected host to start the role instance, which will prevent the HDFS service from starting. To work around this, you can
stop all services, abort the pending command to start the role instance on the disconnected host, and then restart all services again without that role instance. For information about aborting a
pending command, see Aborting a Pending Command.
  Note: If you are unable to start the HDFS service, it's possible that one of the roles instances,
such as a DataNode, was running on a host that is no longer connected to the Cloudera Manager Server host, perhaps because of a hardware or network failure. If this is the case, the Cloudera Manager
Server will be unable to connect to the Cloudera Manager Agent on that disconnected host to start the role instance, which will prevent the HDFS service from starting. To work around this, you can
stop all services, abort the pending command to start the role instance on the disconnected host, and then restart all services again without that role instance. For information about aborting a
pending command, see Aborting a Pending Command.Stopping a Service on All Hosts
- On the 
tab, click  to the right of the service name and select Stop. to the right of the service name and select Stop.
- Click Stop in the next screen to confirm. When you see a Finished status, the service has stopped.
The order in which to stop services is:
- Hue
- Sqoop
- Oozie
- Impala
- Hive
- MapReduce or YARN
- Key-Value Store Indexer
- HBase
- Flume
- Solr
- HDFS
- ZooKeeper
- Cloudera Management Service
Restarting a Service
- On the 
tab, click  to the right of the service name and select Restart. to the right of the service name and select Restart.
- Click Start on the next screen to confirm. When you see a Finished status, the service has restarted.
To restart all services, use the restart cluster action.
| << Add-on Services | ©2016 Cloudera, Inc. All rights reserved | Rolling Restart >> | 
| Terms and Conditions Privacy Policy |