You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Lohit Vijayarenu (JIRA)" <ji...@apache.org> on 2008/08/19 18:09:44 UTC
[jira] Updated: (HADOOP-3948) Separate Namenodes edits and fsimage
[ https://issues.apache.org/jira/browse/HADOOP-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lohit Vijayarenu updated HADOOP-3948:
-------------------------------------
Attachment: hadoop-core-trunk.patch
Attached is an initial version (untested) of the patch. This incorporates ideas from Konstantine who suggested Iterators to traverse list of Storage Directories. The patch
- adds a new config variable dfs.name.edits.dir whose default value would be dfs.name.dir. One could have different combinations of directories for both the variables
- Added a new type StorageDirType which identifies if the directory is of type _NORMAL_, _FSEDITS_, _FSIMAGE_, _FSEDITS_FSIMAGE_. This way we can have a directory to store either edits only, images only or both.
- Added an Iterator to go over the list of storage directories. This accepts a StorageDirType as argument and selects only the matching directories.
- Changed few constructors and methods to accept 2 set of dirs
I am looking into how to change FSEdits::processIOError(int), which used to accept only index. Few places, this could be changed to accept storage directory, but few its not straight forward.
> 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.