[ 
https://issues.apache.org/jira/browse/SPARK-52657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17987989#comment-17987989
 ] 

Qi Tan edited comment on SPARK-52657 at 7/2/25 9:42 PM:
--------------------------------------------------------

Sure. [~dongjoon] 

I applied a Spark CR with name = XXX and

Spark Conf:
spark.app.id: XXX

And then check the history ui, spark conf:
spark.app.id: XXX-0

This id was generated in line 
[https://github.com/apache/spark-kubernetes-operator/blob/c1d8af1ad47b7235df36720f1bd25e0e6c9949bd/spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkAppSubmissionWorker.java#L152-L167]


was (Author: JIRAUSER299738):
Sure. [~dongjoon] 



I applied a Spark CR with name = XXX and 

Spark Conf:
spark.app.id: XXX

And then check the history server, spark conf:
spark.app.id: XXX-0

This id was generated in line 
https://github.com/apache/spark-kubernetes-operator/blob/c1d8af1ad47b7235df36720f1bd25e0e6c9949bd/spark-submission-worker/src/main/java/org/apache/spark/k8s/operator/SparkAppSubmissionWorker.java#L152-L167

> Fix the bug when user has set the spark.app.id value
> ----------------------------------------------------
>
>                 Key: SPARK-52657
>                 URL: https://issues.apache.org/jira/browse/SPARK-52657
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Kubernetes
>    Affects Versions: kubernetes-operator-0.5.0
>            Reporter: Qi Tan
>            Priority: Minor
>              Labels: pull-request-available
>
> When user has set the spark.app.id value, operator should honor the value, 
> rather than use the pre-computed appId.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to