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

TestFifoScheduler.testAppAttemptMetrics fails intermittently under jdk7

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.10, 2.3.0, 3.0.0-alpha1
    • Fix Version/s: 0.23.10, 2.3.0
    • Component/s: scheduler
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      QueueMetrics holds its data in a static variable causing metrics to bleed over from test to test. clearQueueMetrics is to be called for tests that need to measure metrics correctly for a single test. jdk7 comes into play since tests are run out of order, and in the case make the metrics unreliable.

        Attachments

        1. YARN-1419.patch
          2 kB
          Jonathan Turner Eagles
        2. YARN-1419.patch
          1 kB
          Jonathan Turner Eagles

          Activity

            People

            • Assignee:
              jeagles Jonathan Turner Eagles
              Reporter:
              jeagles Jonathan Turner Eagles
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: