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

Unreliable corrupt blocks counting in TestProcessCorruptBlocks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.7
    • 0.23.7, 2.0.4-alpha
    • namenode
    • None
    • Reviewed

    Description

      It failed in build #2356:

      java.lang.AssertionError: expected:<0> but was:<1>
      	at org.junit.Assert.fail(Assert.java:91)
      	at org.junit.Assert.failNotEquals(Assert.java:645)
      	at org.junit.Assert.assertEquals(Assert.java:126)
      	at org.junit.Assert.assertEquals(Assert.java:470)
      	at org.junit.Assert.assertEquals(Assert.java:454)
      	at org.apache.hadoop.hdfs.server.namenode.TestProcessCorruptBlocks.testWithReplicationFactorAsOne(TestProcessCorruptBlocks.java:192)
      	...
      

      Attachments

        1. hdfs-3344.patch
          1 kB
          Kihwal Lee

        Activity

          People

            kihwal Kihwal Lee
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: