On Feb 12, 2008, at 10:33 PM, 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.


$ bin/hadoop job -kill <jobid>

The job id should be available at the user-console or the JobTracker web-ui.

Arun

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

Reply via email to