hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2476) Unit test fails on Windows: TestCopyFiles.testCopyFromLocalToLocal
Date Thu, 20 Dec 2007 20:19:43 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553771
] 

Tsz Wo (Nicholas), SZE commented on HADOOP-2476:
------------------------------------------------

+1
codes look good

> Unit test fails on Windows: TestCopyFiles.testCopyFromLocalToLocal
> ------------------------------------------------------------------
>
>                 Key: HADOOP-2476
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2476
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.16.0
>         Environment: Windows
>            Reporter: Mukund Madhugiri
>            Assignee: Raghu Angadi
>            Priority: Blocker
>             Fix For: 0.16.0
>
>         Attachments: HADOOP-2476.patch
>
>
> Unit test fails on Windows: org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal
> Exception: 
> java.io.FileNotFoundException: C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/destdat/three/three/7695082211392925393
> 	at org.apache.hadoop.fs.RawLocalFileSystem.open(RawLocalFileSystem.java:144)
> 	at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:117)
> 	at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:274)
> 	at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:262)
> 	at org.apache.hadoop.fs.TestCopyFiles.checkFiles(TestCopyFiles.java:144)
> 	at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:238)
> Standard Error:
> With failures, global counters are inaccurate; consider running with -i
> Copy failed: java.lang.IllegalArgumentException: length != 10(unixSymbolicPermission=drwxrwxrwx+)
> 	at org.apache.hadoop.fs.permission.FsPermission.valueOf(FsPermission.java:160)
> 	at org.apache.hadoop.fs.RawLocalFileSystem$RawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:405)
> 	at org.apache.hadoop.fs.RawLocalFileSystem$RawLocalFileStatus.write(RawLocalFileSystem.java:429)
> 	at org.apache.hadoop.util.CopyFiles$FilePair.write(CopyFiles.java:133)
> 	at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java:956)
> 	at org.apache.hadoop.util.CopyFiles.setup(CopyFiles.java:727)
> 	at org.apache.hadoop.util.CopyFiles.copy(CopyFiles.java:475)
> 	at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:550)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToLocal(TestCopyFiles.java:235)
> 	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...
> With failures, global counters are inaccurate; consider running with -i
> Copy failed: java.lang.IllegalArgumentException: length != 10(unixSymbolicPermission=drwxrwxrwx+)
> 	at org.apache.hadoop.fs.permission.FsPermission.valueOf(FsPermission.java:160)
> 	at org.apache.hadoop.fs.RawLocalFileSystem$RawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:405)
> 	at org.apache.hadoop.fs.RawLocalFileSystem$RawLocalFileStatus.write(RawLocalFileSystem.java:429)
> 	at org.apache.hadoop.util.CopyFiles$FilePair.write(CopyFiles.java:133)
> 	at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java:956)
> 	at org.apache.hadoop.util.CopyFiles.setup(CopyFiles.java:727)
> 	at org.apache.hadoop.util.CopyFiles.copy(CopyFiles.java:475)
> 	at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:550)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.hadoop.fs.TestCopyFiles.testCopyFromLocalToDfs(TestCopyFiles.java:283)
> 	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.


Mime
View raw message