You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/06/16 18:18:20 UTC
[jira] [Updated] (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 updated HDFS-4908:
-----------------------------------------
Attachment: h4908_20130617.patch
h4908_20130617.patch: initial patch. Still need to fix OfflineImageViewer.
> 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: h4908_20130617.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