hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7843) A truncated file is corrupted after rollback from a rolling upgrade
Date Thu, 26 Feb 2015 14:27:08 GMT

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

Hudson commented on HDFS-7843:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #107 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/107/])
HDFS-7843. A truncated file is corrupted after rollback from a rolling upgrade. (szetszwo:
rev 606f5b517ffbeae0140a8c80b4cddc012c7fb3c4)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestRollingUpgrade.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java


> A truncated file is corrupted after rollback from a rolling upgrade
> -------------------------------------------------------------------
>
>                 Key: HDFS-7843
>                 URL: https://issues.apache.org/jira/browse/HDFS-7843
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Blocker
>             Fix For: 2.7.0
>
>         Attachments: h7843_20150226.patch
>
>
> Here is a rolling upgrade truncate test from [~brandonli].  The basic test step is: (3
nodes cluster with HA)
> 1. upload a file to hdfs
> 2. start rollingupgrade. finish rollingupgrade for namenode and one datanode. 
> 3. truncate the file in hdfs to 1byte
> 4. do rollback
> 5. download file from hdfs, check file size to be original size
> I see the file size in hdfs is correct but can't read it because the block is corrupted.



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

Mime
View raw message