You can get the Job ID from the Hive CLI when starting the job or from the web interface. You can also list job IDs using the application ID from the resource manager. Ideally, you should get everything from
mapred job -list
or
hadoop job -list
Using the job id, you can kill it using the command below.
hadoop job -kill <job_id>
Another alternative would be to kill the application using
yarn application -kill <application_id>
source share