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 <brouberol@wikimedia.org> * 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 <brouberol@wikimedia.org> Co-authored-by: Elad Kalif <45845474+eladkal@users.noreply.github.com> Co-authored-by: rom sharon <33751805+romsharon98@users.noreply.github.com>
- Loading branch information