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

TestCheckpoint failed in trunk due to mismatching message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • datanode, namenode
    • None

    Description

      There is regression in hdfs trunk test:

      https://builds.apache.org/job/Hadoop-Hdfs-trunk/1924/

      Regression

      org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.testStorageAlreadyLockedErrorMessage

      Failing for the past 1 build (Since Failed#1924 )
      Took 0.22 sec.
      Error Message

      Log output does not contain expected log message: It appears that another namenode 3496@asf909.gq1.ygridcore.net has already locked the storage directory
      Stacktrace

      java.lang.AssertionError: Log output does not contain expected log message: It appears that another namenode 3496@asf909.gq1.ygridcore.net has already locked the storage directory
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.testStorageAlreadyLockedErrorMessage(TestCheckpoint.java:867)
      

      And I found it to be introduced by HDFS-7333.

      Attachments

        1. HDFS-7370.001.patch
          2 kB
          Yongjun Zhang

        Issue Links

          Activity

            People

              yzhangal Yongjun Zhang
              yzhangal Yongjun Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: