[ https://issues.apache.org/jira/browse/HDFS-6609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054315#comment-14054315 ]
Haohui Mai edited comment on HDFS-6609 at 7/8/14 12:09 AM: ----------------------------------------------------------- I've committed the patch to trunk. Thanks [~jingzhao] for the contribution. was (Author: wheat9): I've committed the patch to trunk and branch-2. Thanks [~jingzhao] for the contribution. > Use DirectorySnapshottableFeature to represent a snapshottable directory > ------------------------------------------------------------------------ > > Key: HDFS-6609 > URL: https://issues.apache.org/jira/browse/HDFS-6609 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Jing Zhao > Assignee: Jing Zhao > Fix For: 3.0.0 > > Attachments: HDFS-6609.000.patch, HDFS-6609.001.patch, > HDFS-6609.002.patch > > > Currently we use INodeDirectorySnapshottable to represent a snapshottable > directory. When we set a directory to snapshottable, we also need to replace > the corresponding INode. It will be better to use a > DirectorySnapshottableFeature to simplify the process and get rid of the > inode replacement. -- This message was sent by Atlassian JIRA (v6.2#6252)