Eric Marnadi created SPARK-53398:
------------------------------------

             Summary: 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


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