How do I kill running map tasks on Amazon EMR? How do I kill running map tasks on Amazon EMR? hadoop hadoop

How do I kill running map tasks on Amazon EMR?


Generally, on a Hadoop cluster you can kill a particular task by issuing:

hadoop job -kill-task [attempt_id]

This will kill the given map task and re-submits it on an differentnode with a new id.

To get the attemp_id navigate on the Jobtracker's web UI to the map taskin question, click on it and note it's id (e.g: attempt_201210111830_0012_m_000000_0)


ssh to the master node as mentioned by Lorand, and execute:

bin/hadoop job -listbin/hadoop job –kill <JobID>