hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5427) not able to read deleted files from snapshot directly under snapshottable dir after checkpoint and NN restart
Date Fri, 25 Oct 2013 11:02:32 GMT

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

Vinay updated HDFS-5427:
------------------------

    Attachment: HDFS-5427.patch

Attaching a patch.
Please review

> 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
>            Reporter: Vinay
>            Assignee: Vinay
>         Attachments: HDFS-5427.patch
>
>
> 1. allow snapshots under dir /foo
> 2. create a file /foo/bar
> 3. create a snapshot s1 under /foo
> 4. wait till checkpoint or do saveNameSpace
> 5. restart NN.
> 6. 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)

Mime
View raw message