Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10165

TestMetricsSystemImpl#testMultiThreadedPublish occasionally fails

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      From https://builds.apache.org/job/Hadoop-Common-trunk/982/testReport/junit/org.apache.hadoop.metrics2.impl/TestMetricsSystemImpl/testMultiThreadedPublish/ :

      Error Message
      
      Passed
      Passed
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Passed
      Stacktrace
      
      java.lang.AssertionError: Passed
      Passed
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Metric not collected!
      Passed
      	at org.junit.Assert.fail(Assert.java:93)
      	at org.junit.Assert.assertTrue(Assert.java:43)
      	at org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.testMultiThreadedPublish(TestMetricsSystemImpl.java:233)
      Standard Output
      
      2013-12-15 09:14:49,144 INFO  impl.MetricsConfig (MetricsConfig.java:loadFirst(111)) - loaded properties from hadoop-metrics2-test.properties
      2013-12-15 09:14:49,146 INFO  impl.MetricsSystemImpl (MetricsSystemImpl.java:startTimer(341)) - Scheduled snapshot period at 80 second(s).
      2013-12-15 09:14:49,146 INFO  impl.MetricsSystemImpl (MetricsSystemImpl.java:start(183)) - Test metrics system started
      2013-12-15 09:14:49,147 INFO  impl.MetricsSinkAdapter (MetricsSinkAdapter.java:start(190)) - Sink Collector started
      2013-12-15 09:14:49,147 INFO  impl.MetricsSystemImpl (MetricsSystemImpl.java:registerSink(275)) - Registered sink Collector
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment