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

Hari Mankude commented on HDFS-5427:
------------------------------------

Is this patch going to be backported to 2.2 also?

> not able to read deleted files from snapshot directly under snapshottable dir 
> after checkpoint and NN restart
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5427
>                 URL: https://issues.apache.org/jira/browse/HDFS-5427
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: snapshots
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Vinay
>            Assignee: Vinay
>            Priority: Blocker
>             Fix For: 2.3.0
>
>         Attachments: HDFS-5427-v2.patch, HDFS-5427.patch, HDFS-5427.patch
>
>
> 1. allow snapshots under dir /foo
> 2. create a file /foo/bar
> 3. create a snapshot s1 under /foo
> 4. delete the file /foo/bar
> 5. wait till checkpoint or do saveNameSpace
> 6. restart NN.
> 7. Now try to read the file from snapshot /foo/.snapshot/s1/bar
> client will get BlockMissingException
> Reason is 
> While loading the deleted file list for a snashottable dir from fsimage, 
> blocks were not updated in blocksmap



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to