[
https://issues.apache.org/jira/browse/HDFS-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-4098:
----------------------------
Attachment: HDFS-4098.compile.patch
The patch HDFS-4098.compile.patch can pass the compiling, but is not correct
when specifying the types for FileLink.Util#getBlockReplication and
FileLink.Util#collectSubtreeBlocksAndClear in
INodeFileUnderConstructionWithLink and INodeFileWithLink.
> 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
> Fix For: Snapshot (HDFS-2802)
>
> Attachments: h4098_20130107.patch, h4098_20130109b.patch,
> h4098_20130113.patch, HDFS-4098.compile.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