[
https://issues.apache.org/jira/browse/HDFS-11805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450652#comment-16450652
]
Hudson commented on HDFS-11805:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-11805. Ensure LevelDB DBIterator is closed. Contributed by Chen (xyao: rev
b8e063ebcb4debe39123787930140c783079099c)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/web/localstorage/OzoneMetadataManager.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/cblock/CBlockManager.java
> Ensure LevelDB DBIterator is closed
> -----------------------------------
>
> Key: HDFS-11805
> URL: https://issues.apache.org/jira/browse/HDFS-11805
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Xiaoyu Yao
> Assignee: Chen Liang
> Priority: Minor
> Fix For: HDFS-7240
>
> Attachments: HDFS-11805-HDFS-7240.001.patch,
> HDFS-11805-HDFS-7240.002.patch
>
>
> DBIterator used in CblockManager/FilteredKeys/SQLCLI/OzoneMetadataManager
> should be closed after done with the iteration to avoid resource leaking.
> try-with-resource should fix that easily for most of the cases. FIlteredKeys
> may be a special case that I have not fully checked yet.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]