You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/07/10 23:15:48 UTC

[jira] [Resolved] (HDFS-4908) Reduce snapshot inode memory usage

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

Tsz Wo (Nicholas), SZE resolved HDFS-4908.
------------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2.0)
                   2.1.0-beta

Merged this to 2.1.0-beta.
                
> Reduce snapshot inode memory usage
> ----------------------------------
>
>                 Key: HDFS-4908
>                 URL: https://issues.apache.org/jira/browse/HDFS-4908
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode, snapshots
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 2.1.0-beta
>
>         Attachments: editsStored, h4908_20130617b.patch, h4908_20130617c.patch, h4908_20130617.patch, h4908_20130619.patch, h4908_20130620.patch
>
>
> Snapshots currently use INodeFile and INodeDirectory for storing previous file/dir states as snapshot inodes.  However, INodeFile and INodeDirectory have some fields not used by snapshot inodes such as parent reference, inode id, block/children reference.  The memory footprint could be reduced by having some specific classes for snapshot inodes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira