Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11316

TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure fails in trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 2.9.0, 3.0.0-alpha2, 2.8.2
    • None
    • None
    • Reviewed

    Description

      The test TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure fails frequently in recent Jenkins buildings. The stack infos:

      org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure.testUnderReplicationAfterVolFailure
      
      java.lang.AssertionError: There is no under replicated block after volume failure
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure.testUnderReplicationAfterVolFailure(TestDataNodeVolumeFailure.java:419)
      

      We would be better using GenericTestUtils.waitFor here to wait for the condition being satisfied.

      Attachments

        1. HDFS-11316.001.patch
          2 kB
          Yiqun Lin
        2. HDFS-11316.002.patch
          2 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            linyiqun Yiqun Lin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: