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

TestCacheDirectives#testExceedsCapacity is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.8.0, 3.0.0-alpha1
    • None
    • Jenkins

    Description

      I have observed that this test (TestCacheDirectives.testExceedsCapacity) fails quite frequently in Jenkins (trunk, trunk-Java8)

      Error Message

      Pending cached list of 127.0.0.1:54134 is not empty, [

      {blockId=1073741841, replication=1, mark=true}]

      Stacktrace

      java.lang.AssertionError: Pending cached list of 127.0.0.1:54134 is not empty, [{blockId=1073741841, replication=1, mark=true}

      ]
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.assertTrue(Assert.java:41)
      at org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives.checkPendingCachedEmpty(TestCacheDirectives.java:1479)
      at org.apache.hadoop.hdfs.server.namenode.TestCacheDirectives.testExceedsCapacity(TestCacheDirectives.java:1502)

      Attachments

        1. TestCacheDirectives.rtf
          750 kB
          Xiao Chen
        2. HDFS-9549.01.patch
          5 kB
          Xiao Chen
        3. HDFS-9549.02.patch
          7 kB
          Xiao Chen
        4. HDFS-9549.03.patch
          7 kB
          Xiao Chen
        5. HDFS-9549.04.patch
          6 kB
          Xiao Chen

        Issue Links

          Activity

            People

              xiaochen Xiao Chen
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: