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

TestMetricsSystemImpl.testMultiThreadedPublish fails intermediately

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

              • Assignee:
                ajisakaa Akira Ajisaka
                Reporter:
                wheat9 Haohui Mai
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: