Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3459

Fix failiure of TestLog4jWarningErrorMetricsAppender

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      TestLog4jWarningErrorMetricsAppender fails with the following message:

      Running org.apache.hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender
      Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.214 sec <<< FAILURE! - in org.apache.hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender
      testPurge(org.apache.hadoop.yarn.util.TestLog4jWarningErrorMetricsAppender)  Time elapsed: 2.01 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<0> but was:<1>
      	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.yarn.util.TestLog4jWarningErrorMetricsAppender.testPurge(TestLog4jWarningErrorMetricsAppender.java:89)
      

      Attachments

        1. apache-yarn-3459.0.patch
          1 kB
          Varun Vasudev

        Issue Links

          Activity

            People

              vvasudev Varun Vasudev
              gtcarrera9 Li Lu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: