To kill a specific job once submitted, use the:
Command for Hadoop Versions >= 2.3.0 :
yarn application -kill $ApplicationId
Command for Hadoop Version < 2.3.0:
hadoop job -kill $jobId
If you don't know what application ID or Job ID is associated with the job you need to get rid of, you can use the following commands to list them:
yarn application -list
hadoop job -list
Replace the id or number field with the value you want to eliminate and it will get removed from the running/submitted/accepted job categories. These are some of the finer complexities in Hadoop that you can resolve after taking basic hadoop tutorials.
Kickstart your career by enrolling in this Big Data Hadoop certification training offered by Intellipaat.