nailo2c commented on code in PR #65991:
URL: https://github.com/apache/airflow/pull/65991#discussion_r3254114591


##########
providers/apache/spark/src/airflow/providers/apache/spark/hooks/spark_submit.py:
##########
@@ -611,6 +629,28 @@ def submit(self, application: str = "", **kwargs: Any) -> 
None:
         )
 
         self._process_spark_submit_log(iter(self._submit_sp.stdout))  # type: 
ignore
+
+        if (
+            self._yarn_track_via_application_status
+            and self._is_yarn
+            and self._connection["deploy_mode"] == "cluster"
+            and self._yarn_application_id
+            and self._yarn_application_submitted

Review Comment:
   Yes, it can still be false. I added a comment here, should be clearer now.



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