[
https://issues.apache.org/jira/browse/SPARK-36667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
L. C. Hsieh resolved SPARK-36667.
---------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 33916
[https://github.com/apache/spark/pull/33916]
> Close resources properly in StateStoreSuite/RocksDBStateStoreSuite
> ------------------------------------------------------------------
>
> Key: SPARK-36667
> URL: https://issues.apache.org/jira/browse/SPARK-36667
> Project: Spark
> Issue Type: Bug
> Components: Structured Streaming
> Affects Versions: 3.2.0
> Reporter: Jungtaek Lim
> Assignee: Jungtaek Lim
> Priority: Major
> Fix For: 3.2.0
>
>
> The StateStoreProvider instances created from "newStoreProvider" are NOT
> automatically closed.
> While this is trivial for HDFSBackedStateStoreProvider, for
> RocksDBStateStoreProvider we leak RocksDB instance as well which should have
> closed. Most tests in the RocksDBStateStoreSuite initialize
> RocksDBStateStoreProvider, meaning that 60+ RocksDB instances are not closed
> in the suite.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]