[ 
https://issues.apache.org/jira/browse/HDFS-4167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Zhao updated HDFS-4167:
----------------------------

    Attachment: HDFS-4167.001.patch

Update the patch:
1. Address Vinay's comments.
2. Add protobuf change and FileSystem API for snapshot restore
3. Add unit tests and fix several bugs.

Because the rename case is complicated, currently the unit tests only cover 
file rename. I will add more unit tests to cover directory rename (and fix 
potential bugs).

Besides, the current patch does not truncate blocks according to file length. 
This can cause block corruption since the block length in NN can be 
inconsistent with the block length reported from DNs. I will address this part 
in a separate jira and make the current jira depend on that one.

> Add support for restoring/rolling back to a snapshot
> ----------------------------------------------------
>
>                 Key: HDFS-4167
>                 URL: https://issues.apache.org/jira/browse/HDFS-4167
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: Snapshot (HDFS-2802)
>            Reporter: Suresh Srinivas
>            Assignee: Jing Zhao
>         Attachments: HDFS-4167.000.patch, HDFS-4167.001.patch
>
>
> This jira tracks work related to restoring a directory/file to a snapshot.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to