Page MenuHomePhabricator

Degradation in upgraded Airflow Spark provider
Closed, ResolvedPublic

Description

There is a degradation in airflow.providers.apache.spark between 4.8.1 and 5.6.0. spark_submit_pi_yarn_cluster_mode_via_skein fails due to passed principal (see for full debug P96069) even tho we are removing it in the wmf_airflow_common/hooks/spark.py:148.

INFO - Running in a Kubernetes devenv. Switching to using krb5ccache instead of a keytab.
...
  script: spark3-submit ...
    --principal atsuko@WIKIMEDIA 
...
Exception in thread "main" java.lang.IllegalArgumentException: requirement failed: Both principal and keytab must be defined, or neither.