Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0, 2.0.0-alpha
    • 2.0.0-alpha
    • namenode
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HDFS-2334.diff
          6 kB
          Ivan Kelly
        2. HDFS-2334.diff
          6 kB
          Ivan Kelly
        3. HDFS-2334.diff
          5 kB
          Ivan Kelly

        Activity

          People

            ikelly Ivan Kelly
            ikelly Ivan Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: