onlyarnav opened a new pull request, #71055: URL: https://github.com/apache/airflow/pull/71055
### Description In `_YarnSparkSubmitBackend.submit_job` (airflow/providers/apache/spark/operators/spark_submit.py), implicit string literal concatenation across lines lacked a trailing space after "conflicts": ### "spark.yarn.submit.waitAppCompletion=true cannot be set for cluster mode as it conflicts" "with the need to exit spark-submit immediately to persist the application ID for tracking. " This rendered as `"conflictswith"` in the exception message raised to users. This PR adds the missing space so the error message correctly formats as `"conflicts with the need"`, and updates the corresponding unit test regex in `test_spark_submit.py` to assert the formatted string. ### Related Issues / Context Follow-up to #68679. -- 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]
