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

Anish Shrigondekar closed SPARK-53398.
--------------------------------------

> Ensure that RocksDBMemoryManager metrics reporting doesn't throw a 
> NullPointerException
> ---------------------------------------------------------------------------------------
>
>                 Key: SPARK-53398
>                 URL: https://issues.apache.org/jira/browse/SPARK-53398
>             Project: Spark
>          Issue Type: Improvement
>          Components: Structured Streaming
>    Affects Versions: 4.1.0
>            Reporter: Eric Marnadi
>            Assignee: Eric Marnadi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> If the RocksDB instance is unregistered from the memory manager via 
> maintenance, then metrics are called on the same instance, then we will throw 
> an NPE, which will fail the query, from the RocksDBMemoryManager metrics 
> reporting path. We can handle this by appending a UUID to the uniqueId we 
> pass to RocksDB and using getOrDefault in the Memory Manager.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to