Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Currently in the HDFS-1073 branch, the code for creating output streams is in FileJournalManager and the code for input streams is in the inspectors. This change does a number of things.
- Input and Output streams are now created by the JournalManager.
- FSImageStorageInspectors now deals with URIs when referring to edit logs
- Recovery of inprogress logs is performed by counting the number of transactions instead of looking at the length of the file.
The patch for this applies on top of the HDFS-1073 branch + HDFS-2003 patch.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-2158 Add JournalSet to manage the set of journals.
-
- Closed
-
- incorporates
-
HDFS-2225 HDFS-2018 Part 1 : Refactor file management so its not in classes which should be generic
-
- Closed
-
- is depended upon by
-
HDFS-2188 HDFS-1580: Make FSEditLog create its journals from a list of URIs rather than NNStorage
-
- Closed
-
- is related to
-
HDFS-2088 1073: Move edits log archiving logic into FSEditLog/JournalManager
-
- Resolved
-
- requires
-
HDFS-2227 HDFS-2018 Part 2 : getRemoteEditLogManifest should pull it's information from FileJournalManager
-
- Closed
-