Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1073 Simpler model for Namenode's fs Image and edit Logs
  3. HDFS-1926

Remove references to StorageDirectory from JournalManager interface

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Reviewed

    Description

      The JournalManager interface introduced by HDFS-1799 has a getStorageDirectory method which is out of place in a generic interface. This JIRA removed that call by refactoring the error handling for FSEditLog. Each EditLogFileOutputStream is now a NNStorageListener and listens for error on it's containing StorageDirectory. If an error occurs from FSImage, the stream will be aborted. If the error occurs in FSEditLog, the stream will be aborted and NNStorage will be notified that the StorageDirectory is no longer valid.

      Attachments

        1. HDFS-1926.diff
          14 kB
          Ivan Kelly
        2. HDFS-1926.diff
          1.62 MB
          Ivan Kelly
        3. hdfs-1926.txt
          10 kB
          Todd Lipcon
        4. HDFS-1926-nolistener.diff
          12 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: