How do you gracefully stop a running job?
It can be done by using the following simple command:
hadoop job -kill JOBID
To list current running job in Hadoop Command shell please use below command:
On Linux: $ bin/hadoop job –list
On Windows: HADOOP_HOME = C:\Apps\Dist\
HADOOP_HOME\bin\Hadoop job list