You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Amareshwari Sri Ramadasu <am...@yahoo-inc.com> on 2008/02/13 07:28:16 UTC

Re: the best way to kill a bad job?

You can kill job using the command
bin/hadoop job -kill <jobid>.
You need not shutdown the cluster.

Thanks,
Amareshwari.
Jim the Standing Bear wrote:
> What is the best way to kill a bad job (e.g. an infinite loop)?   The
> job I was running went into an infinite loop and I had to stop it with
> ctrl-c on the master node.  Then I used bin/stop-all.sh hoping to stop
> the entire hadoop system... But that didn't work.  I had to manually
> log into every node and use kill -9 to terminate all these java
> processes.
>
> There's gotta be a better way of doing this - I cannot imagine doing
> this for a 1000 node cluster...  Can someone enlighten me please.
> Thanks.
>
> -- Jim
>