Skip to content

Conversation

@zeotuan
Copy link
Contributor

@zeotuan zeotuan commented Sep 15, 2023

closes: #11246 - Add use_krb5ccache option to tell spark to ticket cache instead of relying on keytab for Kerberos login
https://spark.apache.org/docs/latest/security.html#using-a-ticket-cache

@potiuk
Copy link
Member

potiuk commented Sep 15, 2023

You need to make it compatible with Airflow 2.4. Seems that there is no airflow.security.kerberos in 2.4 (see the error in CI) so you need to see what was there and make conditional code based on airflow.__version__ and comment to remove it after the compatibility is not needed - i.e. when we go to 2.5+ or 2.6+ support - depending when it was aded (you can search for similar examples in other providers)

@Lee-W
Copy link
Member

Lee-W commented Oct 4, 2023

I believe the CI failure in this branch has been resolved by #34701. Could you please rebase the branch and see whether it passes the CI? Thanks!

@zeotuan zeotuan requested a review from Lee-W October 9, 2023 23:05
@eladkal eladkal merged commit 645d52f into apache:main Oct 21, 2023
@eladkal
Copy link
Contributor

eladkal commented Oct 24, 2023

@zeotuan do we need to expose this parameter in SparkSubmitOperator as well?

@zeotuan
Copy link
Contributor Author

zeotuan commented Oct 25, 2023

Oh Yes we do. I will submit a PR for that

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.

SparkSubmitHook Kerberos ccache support

5 participants