[ 
https://issues.apache.org/jira/browse/SPARK-36667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

L. C. Hsieh reassigned SPARK-36667:
-----------------------------------

    Assignee: Jungtaek Lim

> 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
>
> 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]

Reply via email to