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

To cancel a pending step, follow the instructions at Cancel Pending Steps.

To cancel a running 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 yarn application -list. Use the list to find the job IDs associated with the EMR step that you want to cancel.
  3. Run the command yarn application -kill <application_id> to kill each job associated with the EMR step.

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

Updated: 2017-12-12