[
https://issues.apache.org/jira/browse/HDFS-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bikas Saha updated HDFS-2909:
-----------------------------
Attachment: HDFS-2909-HDFS-1623.patch
Attaching a patch which syncs FileJournalManager with NNStorage. When
FileJournalManager has an error doing I/O then it reports an error against its
StorageDirectory to NNStorage. Thus errors in file journal get reported to the
NNStorage dirs.
This only does the half the sync. IMO, FileJournalManager should check the
state of its StorageDirectory inside NNStorage before proceeding to make
changes. That would complete the sync between FileJournalManager and NNStorage.
That way when a StorageDirectory get removed/restored then the
FileJournalManager can stop/restore write to it.
> HA: Inaccessible shared edits dir not getting removed from FSImage storage
> dirs upon error
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-2909
> URL: https://issues.apache.org/jira/browse/HDFS-2909
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HDFS-2909-HDFS-1623.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira