You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/04/19 10:11:00 UTC
[jira] [Assigned] (SPARK-35136) Initial null value of
LiveStage.info can lead to NPE
[ https://issues.apache.org/jira/browse/SPARK-35136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-35136:
------------------------------------
Assignee: Apache Spark
> 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: Apache Spark
> Priority: Major
>
> 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