You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Flametaa (via GitHub)" <gi...@apache.org> on 2024/11/07 19:00:39 UTC

[I] random_name_suffix is not working for sparkKubernetesOperator [airflow]

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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] random_name_suffix is not working for sparkKubernetesOperator [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #43800:
URL: https://github.com/apache/airflow/issues/43800#issuecomment-2463001890

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] random_name_suffix is not working for sparkKubernetesOperator [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #43800: random_name_suffix is not working for sparkKubernetesOperator
URL: https://github.com/apache/airflow/issues/43800


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] random_name_suffix is not working for sparkKubernetesOperator [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #43800: random_name_suffix is not working for sparkKubernetesOperator
URL: https://github.com/apache/airflow/issues/43800


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org