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-8975) Erasure coding : Fix random failure in TestSafeModeWithStripedFile
Date Wed, 30 Sep 2015 19:39:40 GMT

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

Hudson commented on HDFS-8975:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #465 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/465/])
HDFS-8975. Erasure coding : Fix random failure in (vinayakumarb: rev ce02b5532c3d506f8eee7af268216804815fa055)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSafeModeWithStripedFile.java


> Erasure coding : Fix random failure in TestSafeModeWithStripedFile
> ------------------------------------------------------------------
>
>                 Key: HDFS-8975
>                 URL: https://issues.apache.org/jira/browse/HDFS-8975
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: J.Andreina
>            Assignee: J.Andreina
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-8975-HDFS-7285-01.patch, HDFS-8975-HDFS-7285-02.patch
>
>
> TestSafeModeWithStripedFile#testStripedFile0 fails randomly because:
> In below code they are restarting DN and even before DN registration happens to NN, block
report is triggered and following operation fails
>  i) Safemode safe block is counted (which is coming as 0 randomly , eventhough one block
is safe )
>  ii) Check for NN in safemode.
> {code}
>       cluster.restartDataNode(dnprops.remove(0));
>       cluster.triggerBlockReports();
>       assertEquals(1, NameNodeAdapter.getSafeModeSafeBlocks(nn));
> {code}
> {code}
>      dnProperty = dnprops.remove(0);
>     restartDN(dnProperty,nameNodeAddress);
>     assertFalse(nn.isInSafeMode());
> {code}



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

Mime
View raw message