Hi Tousif,
You can kill the Running Job using the killJob() client API.
If you want to kill the job itself, you can get the job id using task attempt
id from map() or reduce() functions, and you can invoke the killJob() API based
on your condition.
Thanks
Devaraj
________________________________________
From: tousif [[email protected]]
Sent: Thursday, May 10, 2012 3:15 PM
To: [email protected]
Subject: job Killing itself upon some condition
Hi,
i have scheduled a map reduce job and i want this map reduce job to kill
itself upon some condition. overall it should fail. Here I'm not using
run method of tool runner.