jherrmannNetfonds commented on pull request #21092:
URL: https://github.com/apache/airflow/pull/21092#issuecomment-1021138070


   Hi @theesen, thank you for that PR.
   I implemented the option with the flag to delete after successful run which 
you would like to discuss. But I implemented this in `SparkKubernetesSensor`
   I delete the application on success state by default. Since if everything 
runs fine I do not need keep the application around. Or at least I never had 
the use case to look into the application.
   This way I only keep failed applications and on a rerun of a successful run 
I do not get any error.
   
   Independent of the implementation I would offer a flag so that the user can 
choose what behavior he wants. 


-- 
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