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 "Ivan Kelly (JIRA)" <ji...@apache.org> on 2011/09/14 12:47:08 UTC

[jira] [Created] (HDFS-2334) Add Closeable to JournalManager

Add Closeable to JournalManager
-------------------------------

                 Key: HDFS-2334
                 URL: https://issues.apache.org/jira/browse/HDFS-2334
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Ivan Kelly
            Assignee: Ivan Kelly


A JournalManager may take hold of resources for the duration of their lifetime. This isn't the case at the moment for FileJournalManager, but BookKeeperJournalManager will, and it's conceivable that FileJournalManager could take a lock on a directory etc. 

This JIRA is to add Closeable to JournalManager so that these resources can be cleaned up when FSEditLog is closed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira