[ 
https://issues.apache.org/jira/browse/HDFS-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552398#comment-13552398
 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-4098:
----------------------------------------------

Here is a brief description of the patch:
- It adds FileWithLink, INodeFileUnderConstructionWithLink and 
INodeFileUnderConstructionSnapshot.
- For append, if it is an INodeFile, convert it to an 
INodeFileUnderConstruction as before.  Otherwise, it is an INodeFileWithLink.  
Then convert it to an INodeFileUnderConstructionWithLink.
- When an INodeFileUnderConstructionWithLink is snapshotted, the snapshot copy 
is then an INodeFileUnderConstructionSnapshot.
                
> 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, 
> h4098_20130113.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

Reply via email to