To verify that no Hadoop processes are running, issue the following command on
each host::

# ps -aef | grep java

You could also use ps -fu hdfs and ps -fu
mapred to confirm that no processes are running as the
hdfs or mapred user, but additional user
names are created by the other components in the ecosystem; checking for
the "java" string in the ps output is an easy way to
identify any processes that may still be running.

To stop system services individually, use the instructions in the table below.

STOP system services in this order:

Order

Service

Comments

Instructions

1

Hue

Run the following on the Hue Server machine to stop Hue sudo service hue
stop

2

Sqoop 1

Run the following on all nodes where it is running: sudo service
sqoop-metastore stop

2

Sqoop 2

Run the following on all nodes where it is running: $ sudo /sbin/service
sqoop2-server stop