[ https://issues.apache.org/jira/browse/HDFS-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira AJISAKA resolved HDFS-5997. --------------------------------- Resolution: Duplicate > TestHASafeMode#testBlocksAddedWhileStandbyIsDown fails in trunk > --------------------------------------------------------------- > > Key: HDFS-5997 > URL: https://issues.apache.org/jira/browse/HDFS-5997 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Ted Yu > > From https://builds.apache.org/job/Hadoop-Hdfs-trunk/1681/ : > REGRESSION: > org.apache.hadoop.hdfs.server.namenode.ha.TestHASafeMode.testBlocksAddedWhileStandbyIsDown > Error Message: > {code} > Bad safemode status: 'Safe mode is ON. The reported blocks 7 has reached the > threshold 0.9990 of total blocks 6. The number of live datanodes 3 has > reached the minimum number 0. Safe mode will be turned off automatically in > 28 seconds.' > {code} > Stack Trace: > {code} > java.lang.AssertionError: Bad safemode status: 'Safe mode is ON. The reported > blocks 7 has reached the threshold 0.9990 of total blocks 6. The number of > live datanodes 3 has reached the minimum number 0. Safe mode will be turned > off automatically in 28 seconds.' > at org.junit.Assert.fail(Assert.java:93) > at org.junit.Assert.assertTrue(Assert.java:43) > at > org.apache.hadoop.hdfs.server.namenode.ha.TestHASafeMode.assertSafeMode(TestHASafeMode.java:493) > at > org.apache.hadoop.hdfs.server.namenode.ha.TestHASafeMode.testBlocksAddedWhileStandbyIsDown(TestHASafeMode.java:660) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)