random_name_suffix is not working for sparkKubernetesOperator #43800
Labels
area:core
area:providers
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
provider:apache-spark
provider:cncf-kubernetes
Kubernetes provider related issues
Apache Airflow version
2.10.3
If "Other Airflow 2 version" selected, which one?
No response
What happened?
In sparkKuberneteOperator, it doesn't matter if you set
random_name_suffix
or not as a random suffix is always added without checking this parameter (even though the documentation says that it should be controllable). https://github.com/apache/airflow/blob/providers-cncf-kubernetes/9.0.1/providers/src/airflow/providers/cncf/kubernetes/operators/spark_kubernetes.py#L166What you think should happen instead?
i think setting the parameter to False should result in the sparkApplication name being the same as the
name
How to reproduce
SparkKubernetesOperator(random_name_suffix=False,...)
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: