I believe that kill-task simple kills the task, but then the same process (i.e. 
"task") starts, with a new id.

Jay Vyas 
MMSB
UCHC

On Jul 20, 2012, at 6:23 PM, "Bejoy KS" <[email protected]> wrote:

> Hi Jay
> 
> Did you try
> hadoop job -kill-task <task-id> ? And is that not working as desired? 
> 
> Regards
> Bejoy KS
> 
> Sent from handheld, please excuse typos.
> 
> -----Original Message-----
> From: jay vyas <[email protected]>
> Date: Fri, 20 Jul 2012 17:17:58 
> To: [email protected]<[email protected]>
> Reply-To: [email protected]
> Subject: fail and kill all tasks without killing job.
> 
> Hi guys : I want my tasks to end/fail, but I don't want to kill my 
> entire hadoop job.
> 
> I have a hadoop job that runs 5 hadoop jobs in a row.
> Im on the last of those sub-jobs, and want to fail all tasks so that the 
> task tracker stops delegating them,
> and the hadoop main job can naturally come to a close.
> 
> However, when I run "hadoop job kill-attempt / fail-attempt ....", the 
> jobtracker seems to simply relaunch
> the same tasks with new ids.
> 
> How can I tell the jobtracker to give up on redelegating?
> 

Reply via email to