I want to cancel an EMR step. How do I accomplish this?

There currently is no method to cancel an EMR step as a whole; however, it is possible to kill one or more running jobs initiated by an EMR step.

Follow these steps to kill a job initiated by an EMR step:

  1. Connect to the EMR master node as described at Connect to the Master Node Using SSH.
  2. Display a list of all running jobs by running the command hadoop job -list. Determine the job IDs associated with the EMR step that you want to stop running.
  3. Run the command hadoop job -kill <job_id> to kill each job associated with the EMR step.

cancel, Hadoop, EMR, step, kill, terminate

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2016-05-16