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

Apache Spark commented on SPARK-3567:
-------------------------------------

User 'sarutak' has created a pull request for this issue:
https://github.com/apache/spark/pull/2428

> appId field in SparkDeploySchedulerBackend should be volatile
> -------------------------------------------------------------
>
>                 Key: SPARK-3567
>                 URL: https://issues.apache.org/jira/browse/SPARK-3567
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.2.0
>            Reporter: Kousuke Saruta
>
> appId field in SparkDeploySchedulerBackend is set by 
> AppClient.ClientActor#receiveWithLogging and appId is referred via 
> SparkDeploySchedulerBackend#applicationId.
> A thread which runs AppClient.ClientActor and a thread invoking 
> SparkDeploySchedulerBackend#applicationId can be another threads so appId 
> should be volatile.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to