hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plamen Jeliazkov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7903) Cannot recover block after truncate and delete snapshot
Date Tue, 10 Mar 2015 00:29:39 GMT

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

Plamen Jeliazkov updated HDFS-7903:
-----------------------------------
    Attachment: HDFS-7903.patch

Attaching a patch to address the problem.

I moved the test into a separate test. I ran the fix again your patch though, [~szetszwo],
before separating it into a smaller test.

> Cannot recover block after truncate and delete snapshot
> -------------------------------------------------------
>
>                 Key: HDFS-7903
>                 URL: https://issues.apache.org/jira/browse/HDFS-7903
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Plamen Jeliazkov
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7903.patch, testMultipleTruncate.patch
>
>
> # Create a file.
> # Create a snapshot.
> # Truncate the file in the middle of a block.
> # Delete the snapshot.
> The block cannot be recovered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message