Kousuke Saruta created SPARK-3567:
-------------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]