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

TestContainerMetrics fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • test
    • None

    Description

      testContainerMetricsFlow(org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.TestContainerMetrics)  Time elapsed: 0.022 sec  <<< ERROR!
      org.mockito.exceptions.misusing.WrongTypeOfReturnValue: 
      TestContainerMetrics cannot be returned by register()
      register() should return MetricsSink
      	at org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.TestContainerMetrics.testContainerMetricsFlow(TestContainerMetrics.java:53)
      testContainerMetricsLimit(org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.TestContainerMetrics)  Time elapsed: 0.001 sec  <<< ERROR!
      org.mockito.exceptions.misusing.WrongTypeOfReturnValue: 
      TestContainerMetrics cannot be returned by register()
      register() should return MetricsSink
      	at org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.TestContainerMetrics.testContainerMetricsLimit(TestContainerMetrics.java:93)
      

      Attachments

        1. YARN-5107.01.patch
          2 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: