hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-1506) Refactor fsimage loading code
Date Wed, 01 Dec 2010 20:15:11 GMT

     [ https://issues.apache.org/jira/browse/HDFS-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Hairong Kuang updated HDFS-1506:

    Attachment: refactorImageLoader.patch

This patch does the following major changes:
1. Add a method to load all the inodes;
2. Add a method to load one inode except for its name;
3. Make the ImageLoader constructor to take fsnamesystem as a parameter.

Some subtle (and controversial) changes made are:
1. When a child inode adds to namespace (fsdirectory), its parent inode is always known.
2. When loading an inode, BlockInfos are created instead of Blocks.

> Refactor fsimage loading code
> -----------------------------
>                 Key: HDFS-1506
>                 URL: https://issues.apache.org/jira/browse/HDFS-1506
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>         Attachments: refactorImageLoader.patch
> I plan to do some code refactoring to make HDFS-1070 simpler. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message