[ 
https://issues.apache.org/jira/browse/SPARK-53398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016893#comment-18016893
 ] 

Anish Shrigondekar commented on SPARK-53398:
--------------------------------------------

PR merged here: https://github.com/apache/spark/pull/52144

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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