Yelp/mrjob — Issue #365: terminate "pending" jobs that are actually idle
Author: davidmarin
Created: 2012-02-14 18:45:39+00:00
State: open
Labels: Feature

We've seen a number of cases where EMR has a job in the `PENDING` state but never runs it, and the job flow just stays open forever.

`mrjob.tools.emr.terminate_idle_job_flows` should have a `--max-hours-pending` option, to terminate jobs where a job has been pending for an unreasonable amount of time.