[
https://issues.apache.org/jira/browse/SPARK-52740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kent Yao updated SPARK-52740:
-----------------------------
Fix Version/s: 4.1.0
(was: 4.1)
> Fix NPE in HDFSBackedStateStoreProvider accessing StateStoreConf.sqlConf when
> checkpoint format version is >=2
> --------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-52740
> URL: https://issues.apache.org/jira/browse/SPARK-52740
> Project: Spark
> Issue Type: Bug
> Components: Structured Streaming
> Affects Versions: 4.1.0
> Reporter: Livia Zhu
> Assignee: Livia Zhu
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> Since StateStoreConf's sqlConf field is transient, it is set to null when the
> conf is serialized and deserialized. This causes a NPE in
> HDFSBackedStateStoreProvider when checkpoint format version >= 2 because it
> accesses the sqlConf field for the assert error message. We should store
> checkpoint format version as a field StateStoreConf directly so we do not
> need to access the transient sqlConf field.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]