TestCopyFiles.testCopyFromLocalToLocal fails on Windows
-------------------------------------------------------
Key: HADOOP-1715
URL: https://issues.apache.org/jira/browse/HADOOP-1715
Project: Hadoop
Issue Type: Bug
Components: test
Affects Versions: 0.15.0
Reporter: Nigel Daley
Fix For: 0.15.0
3 different exceptions. Not sure which is relevant:
java.io.FileNotFoundException:
C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/destdat/five/eight/8850688331351221910
at
org.apache.hadoop.fs.RawLocalFileSystem.open(RawLocalFileSystem.java:126)
at
org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:109)
at
org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:266)
at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:244)
at org.apache.hadoop.fs.TestCopyFiles.checkFiles(TestCopyFiles.java:135)
at
org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:169)
Standard Output:
2007-08-13 19:31:41,191 INFO ipc.Server (Server.java:run(568)) - IPC Server
handler 9 on 1420, call open(/destdat/four/zero/2221298292449454108, 0,
671088640) from 127.0.0.1:1424: error: java.io.IOException: Cannot open
filename /destdat/four/zero/2221298292449454108
java.io.IOException: Cannot open filename /destdat/four/zero/2221298292449454108
at org.apache.hadoop.dfs.NameNode.open(NameNode.java:269)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:340)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:566)
Standard Error:
Copy failed: java.lang.NullPointerException
at
org.apache.hadoop.util.CopyFiles$FSCopyFilesMapper.setup(CopyFiles.java:321)
at org.apache.hadoop.util.CopyFiles.copy(CopyFiles.java:773)
at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:854)
at org.apache.hadoop.util.ToolBase.doMain(ToolBase.java:187)
at
org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:166)
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)
Waiting for the Mini HDFS Cluster to start...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.