Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* spark-submit: replace `principle` by `principal` This is related to #43679, in which the `airflow.security.kerberos.get_kerberos_principle` function was renamed `get_kerberos_principle`. In this patch, we introduce a `try/except` block around this import, getting ready to deprecate the typo-ed function in Airflow 3.0. We also fix a innocuous typo in a unit test. Signed-off-by: Balthazar Rouberol <[email protected]> * Update providers/src/airflow/providers/apache/spark/hooks/spark_submit.py * Update providers/src/airflow/providers/apache/spark/hooks/spark_submit.py * Update providers/src/airflow/providers/apache/spark/hooks/spark_submit.py * Update providers/src/airflow/providers/apache/spark/hooks/spark_submit.py * Update providers/src/airflow/providers/apache/spark/hooks/spark_submit.py --------- Signed-off-by: Balthazar Rouberol <[email protected]> Co-authored-by: Elad Kalif <[email protected]> Co-authored-by: rom sharon <[email protected]>
- Loading branch information