Starting, Stopping, and Restarting Services

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

  1. On the Home > Status tab, click to the right of the service name and select Start.
  2. Click Start that appears in the next screen to confirm. When you see a Finished status, the service has started.

The order in which to start services is:

  1. Cloudera Management Service
  2. ZooKeeper
  3. HDFS
  4. Solr
  5. Flume
  6. HBase
  7. Key-Value Store Indexer
  8. MapReduce or YARN
  9. Hive
  10. Impala
  11. Oozie
  12. Sqoop
  13. Hue

Stopping a Service on All Hosts

  1. On the Home > Status tab, click to the right of the service name and select Stop.
  2. Click Stop that appears in the next screen to confirm. When you see a Finished status, the service has stopped.

The order in which to stop services is:

  1. Hue
  2. Sqoop
  3. Oozie
  4. Impala
  5. Hive
  6. MapReduce or YARN
  7. Key-Value Store Indexer
  8. HBase
  9. Flume
  10. Solr
  11. HDFS
  12. ZooKeeper
  13. Cloudera Management Service

Restarting a Service

It is sometimes necessary to restart a service, which is essentially a combination of stopping a service and then starting it again. For example, if you change the hostname or port where the Cloudera Manager is running, or you enable TLS security, you must restart the Cloudera Management Service to update the URL to the Server.
  1. On the Home > Status tab, click to the right of the service name and select Restart.
  2. 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.