Flametaa opened a new issue, #43800:
URL: https://github.com/apache/airflow/issues/43800

   ### 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#L166
   
   ### What 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?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to