hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Su (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9716) o.a.h.hdfs.TestRecoverStripedFile fails intermittently in trunk
Date Tue, 02 Feb 2016 09:03:39 GMT

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

Walter Su commented on HDFS-9716:
---------------------------------

There are 2 ways to make BlockGroup under-replicated: 1.shutdown DN, or 2. replica file corruption.
If replica is corruped, and is reported to NN, NN asks DN to delete the replica.
java.io.File.length() returns 0 if the file is not found.

> o.a.h.hdfs.TestRecoverStripedFile fails intermittently in trunk
> ---------------------------------------------------------------
>
>                 Key: HDFS-9716
>                 URL: https://issues.apache.org/jira/browse/HDFS-9716
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Mingliang Liu
>            Assignee: Walter Su
>
> See recent builds:
> * https://builds.apache.org/job/PreCommit-HDFS-Build/14269/testReport/org.apache.hadoop.hdfs/TestRecoverStripedFile/testRecoverThreeDataBlocks1/
> * https://builds.apache.org/job/PreCommit-HADOOP-Build/8477/testReport/org.apache.hadoop.hdfs/TestRecoverStripedFile/testRecoverThreeDataBlocks/



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

Mime
View raw message