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

TestLazyPersistFiles#testDnRestartWithSavedReplicas is flaky on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • test
    • None
    • Reviewed

    Description

      Error Message

      Expected: is <DISK>
      but: was <RAM_DISK>

      Stacktrace

      java.lang.AssertionError:
      Expected: is <DISK>
      but: was <RAM_DISK>
      at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      at org.junit.Assert.assertThat(Assert.java:865)
      at org.junit.Assert.assertThat(Assert.java:832)
      at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.LazyPersistTestCase.ensureFileReplicasOnStorageType(LazyPersistTestCase.java:129)
      at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistFiles.testDnRestartWithSavedReplicas(TestLazyPersistFiles.java:668)

      Attachments

        1. HDFS-7572.001.patch
          0.9 kB
          Arpit Agarwal

        Activity

          People

            arp Arpit Agarwal
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: