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

Fix failiure of TestLog4jWarningErrorMetricsAppender

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

          Issue Links

            Activity

              People

              • Assignee:
                vvasudev Varun Vasudev
                Reporter:
                gtCarrera9 Li Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: