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

TestMetricsSystemImpl.testMultiThreadedPublish fails intermediately

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • None
    • None
    • Reviewed

    Description

      TestMetricsSystemImpl.testMultiThreadedPublish can fail intermediately due to the insufficient size of the sink queue:

      2014-04-06 21:34:55,269 WARN  impl.MetricsSinkAdapter (MetricsSinkAdapter.java:putMetricsImmediate(107)) - Collector has a full queue and can't consume the given metrics.
      2014-04-06 21:34:55,270 WARN  impl.MetricsSinkAdapter (MetricsSinkAdapter.java:putMetricsImmediate(107)) - Collector has a full queue and can't consume the given metrics.
      2014-04-06 21:34:55,271 WARN  impl.MetricsSinkAdapter (MetricsSinkAdapter.java:putMetricsImmediate(107)) - Collector has a full queue and can't consume the given metrics.
      

      The unit test should increase the default queue size to avoid intermediate failure.

      Attachments

        1. HADOOP-10468.000.patch
          2 kB
          Haohui Mai
        2. HADOOP-10468.001.patch
          6 kB
          Haohui Mai
        3. HADOOP-10468.2.patch
          6 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              wheat9 Haohui Mai
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: