I want to kill all my hadoop jobs automatically when my code encounters an unhandled exception. I am wondering what is the best practice to do it?
Thanks
Use of folloing command is depreciated
hadoop job -list hadoop job -kill $jobId
consider using
mapred job -list mapred job -kill $jobId