You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2017/05/10 22:49:04 UTC
[jira] [Created] (HDFS-11805) Ensure LevelDB DBIterator is closed
Xiaoyu Yao created HDFS-11805:
---------------------------------
Summary: 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
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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org