[
https://issues.apache.org/jira/browse/HDFS-7056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178854#comment-14178854
]
Konstantin Shvachko commented on HDFS-7056:
-------------------------------------------
Hey Guo. Thanks for uploading the design doc. I have not had a chance to read
it entirely. On a brief review it seems to be inline with the ideas laid out
above.
Let me give an update on the work we did with Plamen so far.
- Replica copying logic is implemented
- Block list is added to the diff (on truncatre only)
- Snapshot reads are working
- File delete logic is in place.
The remaining items are adjusting snapshot deletes and writing lots of test
cases.
Guys, if there is other parallel effort going on could you please update the
jira, so that we could coordinate / combine forces. If needed we can post a
preliminary patch.
> Snapshot support for truncate
> -----------------------------
>
> Key: HDFS-7056
> URL: https://issues.apache.org/jira/browse/HDFS-7056
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 3.0.0
> Reporter: Konstantin Shvachko
> Attachments: HDFSSnapshotWithTruncateDesign.docx
>
>
> Implementation of truncate in HDFS-3107 does not allow truncating files which
> are in a snapshot. It is desirable to be able to truncate and still keep the
> old file state of the file in the snapshot.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)