[ https://issues.apache.org/jira/browse/HDFS-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552392#comment-13552392 ]
Tsz Wo (Nicholas), SZE commented on HDFS-4098: ---------------------------------------------- 1. Will add a comment. 2. Oops, I forgot to update the javadoc of asFile(). I think we can get rid of it if we change the generic type. 3. The util methods were moved from INodeFileWithLink but not new methods. These methods are already covered by some tests added earlier. > Support append to original files which are snapshotted > ------------------------------------------------------ > > Key: HDFS-4098 > URL: https://issues.apache.org/jira/browse/HDFS-4098 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h4098_20130107.patch, h4098_20130109b.patch > > > When a regular file is reopened for append, the type is changed from > INodeFile to INodeFileUnderConstruction. The type of snapshotted files (i.e. > original files) is INodeFileWithLink. We have to support similar "under > construction" INodeFileWithLink. -- 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