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

TestDataNodeOutlierDetectionViaMetrics UT fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • None
    • None
    • Reviewed

    Description

      TestDataNodeOutlierDetectionViaMetrics UT fails as below.

      Failed tests: 
        TestDataNodeOutlierDetectionViaMetrics.testOutlierIsDetected:86 
      Expected: is <1>
           but: was <0>
      
      Tests run: 300, Failures: 1, Errors: 0, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Apache Hadoop Common ............................... SUCCESS [ 11.586 s]
      [INFO] Apache Hadoop HDFS ................................. FAILURE [24:16 min]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      Error Message
      
      Expected: is <1>
           but: was <0>
      Stacktrace
      
      java.lang.AssertionError: 
      Expected: is <1>
           but: was <0>
      	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.metrics.TestDataNodeOutlierDetectionViaMetrics.testOutlierIsDetected(TestDataNodeOutlierDetectionViaMetrics.java:86)
      

      Attachments

        1. HDFS-11842.001.patch
          1 kB
          Hanisha Koneru

        Activity

          People

            hanishakoneru Hanisha Koneru
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: