Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom spark home and custom binarires for spark #27646

Merged

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Nov 13, 2022


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk merged commit 9358928 into apache:main Nov 13, 2022
@potiuk potiuk deleted the do-not-allow-spark-home-and-custom-binaries branch November 13, 2022 22:02
ottomata added a commit to ottomata/airflow that referenced this pull request Mar 13, 2023
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.
potiuk pushed a commit that referenced this pull request Mar 15, 2023
* Add spark3-submit to list of allowed spark-binary values

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.

See also #30065.

* Fix lint errors in spark.rst and test_spark_submit.py
a0x8o added a commit to a0x8o/airflow that referenced this pull request Mar 15, 2023
* Add spark3-submit to list of allowed spark-binary values

The list of allowed values for spark-binary was restricted in
apache/airflow#27646.  Add spark3-submit to this list to allow for distributions
of Spark 3 that install the binary this way.

See also apache/airflow#30065.

* Fix lint errors in spark.rst and test_spark_submit.py
potiuk added a commit to potiuk/airflow that referenced this pull request Mar 21, 2023
As discussed in apache#30064 - the security vulnerabilty fix from
the apache#27646 restricted the spark binaries a little too much (the
binaries should be restricted only when passed via extra).

This PR fixes it, spark submit is only restricted when passed
via extra, you can still pass any binary via Hook parameter.
eladkal pushed a commit that referenced this pull request Mar 22, 2023
As discussed in #30064 - the security vulnerabilty fix from
the #27646 restricted the spark binaries a little too much (the
binaries should be restricted only when passed via extra).

This PR fixes it, spark submit is only restricted when passed
via extra, you can still pass any binary via Hook parameter.
ahidalgob pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 12, 2023
* Add spark3-submit to list of allowed spark-binary values

The list of allowed values for spark-binary was restricted in
apache/airflow#27646.  Add spark3-submit to this list to allow for distributions
of Spark 3 that install the binary this way.

See also apache/airflow#30065.

* Fix lint errors in spark.rst and test_spark_submit.py

GitOrigin-RevId: b3259877fac7330d2b65ca7f96fcfc27243582d6
ahidalgob pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Nov 7, 2023
* Add spark3-submit to list of allowed spark-binary values

The list of allowed values for spark-binary was restricted in
apache/airflow#27646.  Add spark3-submit to this list to allow for distributions
of Spark 3 that install the binary this way.

See also apache/airflow#30065.

* Fix lint errors in spark.rst and test_spark_submit.py

GitOrigin-RevId: b3259877fac7330d2b65ca7f96fcfc27243582d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants