[ 
https://issues.apache.org/jira/browse/MAPREDUCE-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223320#comment-13223320
 ] 

Jason Lowe commented on MAPREDUCE-3976:
---------------------------------------

I manually ran the TestRMContainerAllocator tests, and they pass after applying 
the patch.  I also re-ran the metrics tests to verify the ResourceManager is 
still reporting JVM metrics.

Not sure why Jenkins didn't catch this failure back on MAPREDUCE-3964.  
Apparently it doesn't run these tests?
                
> TestRMContainerAllocator failing
> --------------------------------
>
>                 Key: MAPREDUCE-3976
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3976
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.2
>            Reporter: Bikas Saha
>            Assignee: Jason Lowe
>         Attachments: MAPREDUCE-3976.patch
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to