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

Hemant Kumar resolved HDDS-9986.
--------------------------------
    Resolution: Fixed

> Log if there is a problem in closing RocksDB
> --------------------------------------------
>
>                 Key: HDDS-9986
>                 URL: https://issues.apache.org/jira/browse/HDDS-9986
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Hemant Kumar
>            Priority: Major
>              Labels: pull-request-available
>
> We are seeing some memory leak:
> {code}
> 2023-12-18 19:21:06,485 WARN 
> [Finalizer]-org.apache.hadoop.hdds.utils.db.managed.ManagedRocksObjectUtils: 
> Checkpoint is not closed properly
> 2023-12-18 19:21:06,486 WARN 
> [Finalizer]-org.apache.hadoop.ozone.om.OmSnapshot: 
> org.apache.hadoop.hdds.utils.db.RDBStore@4e5ac786 is not closed properly. 
> snapshotName: snap-5griw
> {code}
> We are silently [closing 
> RocksDB|https://github.com/apache/ozone/blob/master/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RDBStore.java#L234]
>   and not logging anything if there is any problem.
> This task is to LOG the error if there is any problem in closing RocksDB 
> object to investigate.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to