vchiapaikeo commented on issue #24171: URL: https://github.com/apache/airflow/issues/24171#issuecomment-1776796804
That'd be great @tokoko - I'm familiar with turning http processes into deferrable. My concern here is that the [SparkSubmitHook](https://github.com/apache/airflow/blob/dcb72b5a4661223c9de7beea40264a152298f24b/airflow/providers/apache/spark/hooks/spark_submit.py#L39) supports both the client and cluster deploy modes and seemingly [3 cluster manager modes](https://github.com/apache/airflow/blob/dcb72b5a4661223c9de7beea40264a152298f24b/airflow/providers/apache/spark/hooks/spark_submit.py#L159-L160). This solution would only be applicable with Yarn deployment. I'd also likely develop locally with standalone mode as well so would not be able to make this rest call. Do you know of a comprehensive solution to [track driver status](https://github.com/apache/airflow/blob/dcb72b5a4661223c9de7beea40264a152298f24b/airflow/providers/apache/spark/hooks/spark_submit.py#L549) that would work for standalone, k8's, and yarn? -- 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]
