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

Fix TestStandbyIsHot#testDatanodeRestarts which occasionally fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.3, 3.0.0-alpha1
    • None
    • None

    Description

      https://builds.apache.org/job/PreCommit-HDFS-Build/11596/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11598/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11599/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11600/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11606/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11608/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11612/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11618/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11650/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11655/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11659/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11663/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11664/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11667/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11669/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11676/testReport/
      https://builds.apache.org/job/PreCommit-HDFS-Build/11677/testReport/

      java.lang.AssertionError: expected:<0> but was:<4>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.hadoop.hdfs.server.namenode.ha.TestStandbyIsHot.testDatanodeRestarts(TestStandbyIsHot.java:188)
      

      Attachments

        1. HDFS-8772.01.patch
          0.9 kB
          Walter Su
        2. HDFS-8772.02.patch
          1 kB
          Walter Su
        3. HDFS-8772.03.patch
          4 kB
          Walter Su
        4. HDFS-8772.04.patch
          4 kB
          Walter Su
        5. HDFS-8772-branch-2.04.patch
          4 kB
          Walter Su

        Activity

          People

            walter.k.su Walter Su
            walter.k.su Walter Su
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: