FAQ
[ 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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMar 11, '09 at 10:11p
activeMar 11, '09 at 10:11p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Chris Douglas (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase