[
https://issues.apache.org/jira/browse/HADOOP-5119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688949#action_12688949
]
Tsz Wo (Nicholas), SZE commented on HADOOP-5119:
------------------------------------------------
Two options to fix FSImage:
1) pass the FSNamesystem as parameter as shown in 5119_20090323.patch.
2) add setFSNamesystem(..) and getFSNamesystem() methods to FSImage.
I originally think that option (1) is a natural fix. But option (2) seems
working better for the newly introduced BackupStorage (see HADOOP-5559). Any
comment?
> FSEditLog and FSImage should not use FSNamesystem.getFSNamesystem()
> -------------------------------------------------------------------
>
> Key: HADOOP-5119
> URL: https://issues.apache.org/jira/browse/HADOOP-5119
> Project: Hadoop Core
> Issue Type: Sub-task
> Components: dfs
> Reporter: Tsz Wo (Nicholas), SZE
> Attachments: 5119_20090323.patch
>
>
> FSEditLog and FSImage should not access the namespace by the static method
> FSNamesystem getFSNamesystem().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.