FAQ
Unit test failed on windows: TestDFSShell.testErrOutPut
-------------------------------------------------------

Key: HADOOP-3237
URL: https://issues.apache.org/jira/browse/HADOOP-3237
Project: Hadoop Core
Issue Type: Bug
Components: dfs
Affects Versions: 0.17.0
Environment: windows
Reporter: Mukund Madhugiri
Assignee: Robert Chansler
Priority: Blocker


Unit test failed on windows: TestDFSShell.testErrOutPut


Standard Error

javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.(NameNodeMetrics.java:69)
at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
at org.apache.hadoop.dfs.NameNode.(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
at org.apache.hadoop.dfs.MiniDFSCluster.(MiniDFSCluster.java:113)
at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
at org.apache.hadoop.dfs.FSNamesystem.(NameNode.java:133)
at org.apache.hadoop.dfs.NameNode.(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
at org.apache.hadoop.dfs.MiniDFSCluster.(MiniDFSCluster.java:113)
at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.(NameNodeMetrics.java:69)
at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
at org.apache.hadoop.dfs.NameNode.(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
at org.apache.hadoop.dfs.MiniDFSCluster.(MiniDFSCluster.java:113)
at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
text: File /texttest/file.gz does not exist.
javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.(NameNodeMetrics.java:69)
at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
at org.apache.hadoop.dfs.NameNode.(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
at org.apache.hadoop.dfs.MiniDFSCluster.(MiniDFSCluster.java:113)
at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
copyToLocal: null
javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.(NameNodeMetrics.java:69)
at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
at org.apache.hadoop.dfs.NameNode.(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
at org.apache.hadoop.dfs.MiniDFSCluster.(MiniDFSCluster.java:113)
at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.(NameNodeMetrics.java:69)
at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
at org.apache.hadoop.dfs.NameNode.(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
at org.apache.hadoop.dfs.MiniDFSCluster.(MiniDFSCluster.java:113)
at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile

chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile

javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.(NameNodeMetrics.java:69)
at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
at org.apache.hadoop.dfs.NameNode.(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
at org.apache.hadoop.dfs.MiniDFSCluster.(MiniDFSCluster.java:113)
at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
cat: null
rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.(NameNodeMetrics.java:69)
at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
at org.apache.hadoop.dfs.NameNode.(NameNode.java:164)
at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
at org.apache.hadoop.dfs.MiniDFSCluster.(MiniDFSCluster.java:113)
at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0


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

Search Discussions

  • Robert Chansler (JIRA) at Apr 11, 2008 at 5:19 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Robert Chansler reassigned HADOOP-3237:
    ---------------------------------------

    Assignee: Mahadev konar (was: Robert Chansler)
    Unit test failed on windows: TestDFSShell.testErrOutPut
    -------------------------------------------------------

    Key: HADOOP-3237
    URL: https://issues.apache.org/jira/browse/HADOOP-3237
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.17.0
    Environment: windows
    Reporter: Mukund Madhugiri
    Assignee: Mahadev konar
    Priority: Blocker

    Unit test failed on windows: TestDFSShell.testErrOutPut
    Standard Error
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    text: File /texttest/file.gz does not exist.
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    copyToLocal: null
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile
    chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    cat: null
    rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
    cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Mahadev konar (JIRA) at Apr 11, 2008 at 9:21 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588127#action_12588127 ]

    Mahadev konar commented on HADOOP-3237:
    ---------------------------------------

    is it because of the checksum error it failed? can I take a look at the full logs?
    Unit test failed on windows: TestDFSShell.testErrOutPut
    -------------------------------------------------------

    Key: HADOOP-3237
    URL: https://issues.apache.org/jira/browse/HADOOP-3237
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.17.0
    Environment: windows
    Reporter: Mukund Madhugiri
    Assignee: Mahadev konar
    Priority: Blocker

    Unit test failed on windows: TestDFSShell.testErrOutPut
    Standard Error
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    text: File /texttest/file.gz does not exist.
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    copyToLocal: null
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile
    chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    cat: null
    rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
    cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Nigel Daley (JIRA) at Apr 17, 2008 at 5:16 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Nigel Daley updated HADOOP-3237:
    --------------------------------

    Fix Version/s: 0.17.0

    This Windows test failure has to be fixed in 0.17
    Unit test failed on windows: TestDFSShell.testErrOutPut
    -------------------------------------------------------

    Key: HADOOP-3237
    URL: https://issues.apache.org/jira/browse/HADOOP-3237
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.17.0
    Environment: windows
    Reporter: Mukund Madhugiri
    Assignee: Mahadev konar
    Priority: Blocker
    Fix For: 0.17.0


    Unit test failed on windows: TestDFSShell.testErrOutPut
    Standard Error
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    text: File /texttest/file.gz does not exist.
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    copyToLocal: null
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile
    chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    cat: null
    rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
    cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Mahadev konar (JIRA) at Apr 17, 2008 at 7:58 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Mahadev konar updated HADOOP-3237:
    ----------------------------------

    Attachment: HADOOP-3237_1.patch

    this patch fixes the issue in test.
    Unit test failed on windows: TestDFSShell.testErrOutPut
    -------------------------------------------------------

    Key: HADOOP-3237
    URL: https://issues.apache.org/jira/browse/HADOOP-3237
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.17.0
    Environment: windows
    Reporter: Mukund Madhugiri
    Assignee: Mahadev konar
    Priority: Blocker
    Fix For: 0.17.0

    Attachments: HADOOP-3237_1.patch


    Unit test failed on windows: TestDFSShell.testErrOutPut
    Standard Error
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    text: File /texttest/file.gz does not exist.
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    copyToLocal: null
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile
    chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    cat: null
    rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
    cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Mahadev konar (JIRA) at Apr 17, 2008 at 7:58 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Mahadev konar updated HADOOP-3237:
    ----------------------------------

    Status: Patch Available (was: Open)
    Unit test failed on windows: TestDFSShell.testErrOutPut
    -------------------------------------------------------

    Key: HADOOP-3237
    URL: https://issues.apache.org/jira/browse/HADOOP-3237
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.17.0
    Environment: windows
    Reporter: Mukund Madhugiri
    Assignee: Mahadev konar
    Priority: Blocker
    Fix For: 0.17.0

    Attachments: HADOOP-3237_1.patch


    Unit test failed on windows: TestDFSShell.testErrOutPut
    Standard Error
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    text: File /texttest/file.gz does not exist.
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    copyToLocal: null
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile
    chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    cat: null
    rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
    cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hadoop QA (JIRA) at Apr 17, 2008 at 9:28 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590210#action_12590210 ]

    Hadoop QA commented on HADOOP-3237:
    -----------------------------------

    +1 overall. Here are the results of testing the latest attachment
    http://issues.apache.org/jira/secure/attachment/12380435/HADOOP-3237_1.patch
    against trunk revision 645773.

    @author +1. The patch does not contain any @author tags.

    tests included +1. The patch appears to include 3 new or modified tests.

    javadoc +1. The javadoc tool did not generate any warning messages.

    javac +1. The applied patch does not generate any new javac compiler warnings.

    release audit +1. The applied patch does not generate any new release audit warnings.

    findbugs +1. The patch does not introduce any new Findbugs warnings.

    core tests +1. The patch passed core unit tests.

    contrib tests +1. The patch passed contrib unit tests.

    Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2268/testReport/
    Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2268/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
    Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2268/artifact/trunk/build/test/checkstyle-errors.html
    Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2268/console

    This message is automatically generated.
    Unit test failed on windows: TestDFSShell.testErrOutPut
    -------------------------------------------------------

    Key: HADOOP-3237
    URL: https://issues.apache.org/jira/browse/HADOOP-3237
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.17.0
    Environment: windows
    Reporter: Mukund Madhugiri
    Assignee: Mahadev konar
    Priority: Blocker
    Fix For: 0.17.0

    Attachments: HADOOP-3237_1.patch


    Unit test failed on windows: TestDFSShell.testErrOutPut
    Standard Error
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    text: File /texttest/file.gz does not exist.
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    copyToLocal: null
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile
    chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    cat: null
    rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
    cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Apr 17, 2008 at 10:44 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-3237:
    -------------------------------------

    Resolution: Fixed
    Status: Resolved (was: Patch Available)

    I just committed this. Thanks Mahadev!
    Unit test failed on windows: TestDFSShell.testErrOutPut
    -------------------------------------------------------

    Key: HADOOP-3237
    URL: https://issues.apache.org/jira/browse/HADOOP-3237
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.17.0
    Environment: windows
    Reporter: Mukund Madhugiri
    Assignee: Mahadev konar
    Priority: Blocker
    Fix For: 0.17.0

    Attachments: HADOOP-3237_1.patch


    Unit test failed on windows: TestDFSShell.testErrOutPut
    Standard Error
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    text: File /texttest/file.gz does not exist.
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    copyToLocal: null
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile
    chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    cat: null
    rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
    cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hudson (JIRA) at Apr 18, 2008 at 10:51 pm
    [ https://issues.apache.org/jira/browse/HADOOP-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590637#action_12590637 ]

    Hudson commented on HADOOP-3237:
    --------------------------------

    Integrated in Hadoop-trunk #464 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/464/])
    Unit test failed on windows: TestDFSShell.testErrOutPut
    -------------------------------------------------------

    Key: HADOOP-3237
    URL: https://issues.apache.org/jira/browse/HADOOP-3237
    Project: Hadoop Core
    Issue Type: Bug
    Components: dfs
    Affects Versions: 0.17.0
    Environment: windows
    Reporter: Mukund Madhugiri
    Assignee: Mahadev konar
    Priority: Blocker
    Fix For: 0.17.0

    Attachments: HADOOP-3237_1.patch


    Unit test failed on windows: TestDFSShell.testErrOutPut
    Standard Error
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=FSNamesystemStatus
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.FSNamesystem.registerMBean(FSNamesystem.java:4257)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:293)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testURIPaths(TestDFSShell.java:386)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testText(TestDFSShell.java:472)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    text: File /texttest/file.gz does not exist.
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCopyToLocal(TestDFSShell.java:517)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    copyToLocal: null
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testCount(TestDFSShell.java:614)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:728)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    chown: could not get status for '/nonExistentFile': java.io.FileNotFoundException: File does not exist: /nonExistentFile
    chown: could not get status for 'unknownFile': java.io.FileNotFoundException: File does not exist: /user/hadoopqa/unknownFile
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:788)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    cat: null
    rm: cannot remove /test/mkdirs/myFile1: No such file or directory.
    cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2
    javax.management.InstanceAlreadyExistsException: hadoop.dfs:service=NameNode,name=NameNodeStatistics
    at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
    at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:52)
    at org.apache.hadoop.dfs.namenode.metrics.NameNodeStatistics.<init>(NameNodeStatistics.java:40)
    at org.apache.hadoop.dfs.NameNodeMetrics.<init>(NameNodeMetrics.java:69)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:852)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:264)
    at org.apache.hadoop.dfs.MiniDFSCluster.<init>(MiniDFSCluster.java:113)
    at org.apache.hadoop.dfs.TestDFSShell.testGet(TestDFSShell.java:1053)
    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:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    get: Checksum error: /blk_-1566589498752841793:of:/test/get/testGet.txt at 0
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedApr 11, '08 at 4:45p
activeApr 18, '08 at 10:51p
posts9
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hudson (JIRA): 9 posts

People

Translate

site design / logo © 2022 Grokbase