[
https://issues.apache.org/jira/browse/SPARK-35136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-35136.
---------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 32233
[https://github.com/apache/spark/pull/32233]
> Initial null value of LiveStage.info can lead to NPE
> ----------------------------------------------------
>
> Key: SPARK-35136
> URL: https://issues.apache.org/jira/browse/SPARK-35136
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.1.1
> Reporter: Sander Goos
> Assignee: Sander Goos
> Priority: Major
> Fix For: 3.2.0
>
>
> The `AppStatusListener.getOrCreateStage` method creates a LiveStage object
> with the `info` field set to null and right after that set it to a specific
> StageInfo object. This can lead to a race condition when the `livestages` are
> read in between those calls. This could then lead to a null pointer exception
> in, for instance: `activeStages`.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]