[
https://issues.apache.org/jira/browse/HADOOP-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623748#action_12623748
]
Lohit Vijayarenu commented on HADOOP-3948:
------------------------------------------
_FSEditLog::processIOError(int)_ removes the stream and directory like this
{noformat}
editStreams.remove(index);
fsimage.processIOError(index);
{noformat}
how about changing _fsimage.processIOError_ to accept File descriptor to take
care of cleanup. Since directory handling is done at FSImage level,
EditOutputStream need not worry about it. We could add an additional call to
get File descriptor from EditFileOutputStream
> Separate Namenodes edits and fsimage
> -------------------------------------
>
> Key: HADOOP-3948
> URL: https://issues.apache.org/jira/browse/HADOOP-3948
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: Lohit Vijayarenu
> Attachments: hadoop-core-trunk.patch
>
>
> NameNode's _edits_ and _fsimage_ should be separated with an option of having
> them in their own separate directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.