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.