hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-2699) Unit test intermittently fails on Mac OS:
Date Wed, 11 Mar 2009 22:10:50 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-2699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Douglas resolved HADOOP-2699.
-----------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 0.16.0)
         Assignee:     (was: Robert Chansler)

> Unit test intermittently fails on Mac OS: 
> ------------------------------------------
>
>                 Key: HADOOP-2699
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2699
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>         Environment: Mac OS
>            Reporter: Mukund Madhugiri
>            Priority: Critical
>
> The unit test TestBalancer intermittently fails on the Mac OS. I see this in the console:
> [junit] 2008-01-23 18:05:47,577 INFO  jvm.JvmMetrics (RpcMetrics.java:setTags(49)) -
Initializing RPC Metrics with serverName=NameNode, port=0
>     [junit] javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=RpcStatistics
>     [junit] 	at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
>     [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
>     [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
>     [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
>     [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
>     [junit] 	at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:50)
>     [junit] 	at org.apache.hadoop.ipc.metrics.RpcMgt.<init>(RpcMgt.java:37)
>     [junit] 	at org.apache.hadoop.ipc.metrics.RpcMetrics.<init>(RpcMetrics.java:60)
>     [junit] 	at org.apache.hadoop.ipc.Server.<init>(Server.java:969)
>     [junit] 	at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:393)
>     [junit] 	at org.apache.hadoop.ipc.RPC.getServer(RPC.java:355)
>     [junit] 	at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:119)
>     [junit] 	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:174)
>     [junit] 	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:160)
>     [junit] 	at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:836)
>     [junit] 	at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:195)
>     [junit] 	at org.apache.hadoop.dfs.TestBalancer.test(TestBalancer.java:194)
>     [junit] 	at org.apache.hadoop.dfs.TestBalancer.testBalancer0(TestBalancer.java:260)
>     [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [junit] 	at java.lang.reflect.Method.invoke(Method.java:585)
>     [junit] 	at junit.framework.TestCase.runTest(TestCase.java:154)
>     [junit] 	at junit.framework.TestCase.runBare(TestCase.java:127)
>     [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] 	at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] 	at junit.framework.TestCase.run(TestCase.java:118)
>     [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
>     [junit] 	at junit.framework.TestSuite.run(TestSuite.java:203)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
>     [junit] 2008-01-23 18:05:47,585 INFO  dfs.NameNode (NameNode.java:initialize(125))
- Namenode up at: localhost/127.0.0.1:65488
>     [junit] 2008-01-23 18:05:47,590 INFO  jvm.JvmMetrics (JvmMetrics.java:init(51)) -
Cannot initialize JVM Metrics with processName=NameNode, sessionId=null - already initialized
>     [junit] javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
>     [junit] 	at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
>     [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
>     [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
>     [junit] 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
>     [junit] 	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
>     [junit] 	at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:50)
>     [junit] 	at org.apache.hadoop.dfs.namenode.metrics.NameNodeMgt.<init>(NameNodeMgt.java:36)
>     [junit] 	at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:67)
>     [junit] 	at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:127)
>     [junit] 	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:174)
>     [junit] 	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:160)
>     [junit] 	at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:836)
>     [junit] 	at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:195)
>     [junit] 	at org.apache.hadoop.dfs.TestBalancer.test(TestBalancer.java:194)
>     [junit] 	at org.apache.hadoop.dfs.TestBalancer.testBalancer0(TestBalancer.java:260)
>     [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [junit] 	at java.lang.reflect.Method.invoke(Method.java:585)
>     [junit] 	at junit.framework.TestCase.runTest(TestCase.java:154)
>     [junit] 	at junit.framework.TestCase.runBare(TestCase.java:127)
>     [junit] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] 	at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] 	at junit.framework.TestCase.run(TestCase.java:118)
>     [junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
>     [junit] 	at junit.framework.TestSuite.run(TestSuite.java:203)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
>     [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message