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

Tsz Wo (Nicholas), SZE updated HDFS-4908:
-----------------------------------------

    Attachment: h4908_20130619.patch

Thanks Jing for the comments.  Here is a new patch.

h4908_20130619.patch
                
> 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
>
>
> 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

Reply via email to