Add spark3-submit to list of allowed spark-binary values#30068
Add spark3-submit to list of allowed spark-binary values#30068potiuk merged 2 commits intoapache:mainfrom
Conversation
The list of allowed values for spark-binary was restricted in apache#27646. Add spark3-submit to this list to allow for distributions of Spark 3 that install the binary this way. See also apache#30065.
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
|
You need to fix the static checks. However, when I looked at it - maybe you might want to make a better and more future-proof fix ? It should be possible to make the check only for The security issue was only about the "extra" (because it could be changed via the UI when defining connection) - but there is no problem with passing any binary via Operator in the DAG code. |
I like this idea, but might not have time to follow up to make a more extensive change for this atm. I'll ping one of my teammates, but I'm not sure if they'll have the time either. Thanks! |
They are interested in making a more generic change, but won't have time in the immediate future to do so. If you are okay with it, it would be useful to merge this as is now, and do the generic change in a future PR. |
|
Awesome work, congrats on your first merged pull request! |
|
Added #30213 to allow passing spark binary via hook. |
The list of allowed values for spark-binary was restricted in #27646. Add spark3-submit to this list to allow for distributions of Spark 3 that install the binary this way.
related: #27646
related: #30065