o-nikolas commented on issue #29424:
URL: https://github.com/apache/airflow/issues/29424#issuecomment-1424909095

   I added code to kill the process while running to test the emr `on_kill` 
changes, and the cleanup code ran successfully (and I confirmed the resource 
was deleted in my AWS account):
   
   ```
   INFO  [airflow.task.operators] Job flow with id j-1ADYKTIV4THO5 created
   INFO  [airflow.task.operators] SLEEPING NOW, KILL THE PROCESS TO TEST ON_KILL
   INFO  [airflow.task.operators] TRYING TO KILL MYSELF
   ERROR [airflow.task] Received SIGTERM. Terminating subprocesses.
   INFO  [airflow.task.operators] Terminating job flow j-1ADYKTIV4THO5
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to