Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3976

TestRMContainerAllocator failing

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.23.2
    • 0.23.2
    • mrv2
    • None

    Description

      The following stack trace is being generated
      ========
      org.apache.hadoop.metrics2.MetricsException: Metrics source JvmMetrics already exists!
      at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:126)
      at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:107)
      at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:216)
      at org.apache.hadoop.metrics2.source.JvmMetrics.create(JvmMetrics.java:80)
      at org.apache.hadoop.mapreduce.v2.app.metrics.MRAppMetrics.create(MRAppMetrics.java:58)
      at org.apache.hadoop.mapreduce.v2.app.metrics.MRAppMetrics.create(MRAppMetrics.java:54)
      at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.<init>(MRAppMaster.java:186)
      at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.<init>(MRAppMaster.java:170)
      at org.apache.hadoop.mapreduce.v2.app.MRApp.<init>(MRApp.java:160)
      at org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator$1.<init>(TestRMContainerAllocator.java:372)
      at org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator.testReportedAppProgress(TestRMContainerAllocator.java:371)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      ========

      This test fails when git trunk is reset to - commit 6689d99b38c7c562e8cae484207ad30ad7b56eb5
      but passes when git trunk is reset to - commit f429fdaf78a02211c4faee54b1ee92822edc5741

      Attachments

        1. MAPREDUCE-3976.patch
          2 kB
          Jason Darrell Lowe

        Activity

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

          People

            jlowe Jason Darrell Lowe
            bikassaha Bikas Saha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment