You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sander Goos (Jira)" <ji...@apache.org> on 2021/04/19 09:57:00 UTC
[jira] [Created] (SPARK-35136) Remove initial null value of
LiveStage.info
Sander Goos created SPARK-35136:
-----------------------------------
Summary: Remove initial null value of LiveStage.info
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
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org