You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/08/06 19:05:06 UTC
[jira] [Created] (BOOKKEEPER-863) Potential resource leak with
unclosed LedgerManager in BookieShell
Ted Yu created BOOKKEEPER-863:
---------------------------------
Summary: Potential resource leak with unclosed LedgerManager in BookieShell
Key: BOOKKEEPER-863
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-863
Project: Bookkeeper
Issue Type: Bug
Reporter: Ted Yu
There're more than one occurrence.
Here is an example in ListLedgersCmd#runCmd():
{code}
LedgerManagerFactory mFactory = LedgerManagerFactory.newLedgerManagerFactory(bkConf, zk);
LedgerManager m = mFactory.newLedgerManager();
{code}
m is not closed upon leaving the method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)