hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senthil Subramanian (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1599) TestCopyFiles with IllegalArgumentException on Windows
Date Thu, 12 Jul 2007 22:38:05 GMT

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

Senthil Subramanian updated HADOOP-1599:
----------------------------------------

    Attachment: HADOOP-1599_1.patch

Normalize paths so that Distcp and the associated test case work on windows.

> TestCopyFiles with IllegalArgumentException on Windows
> ------------------------------------------------------
>
>                 Key: HADOOP-1599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1599
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.14.0
>            Reporter: Nigel Daley
>            Assignee: Senthil Subramanian
>            Priority: Blocker
>             Fix For: 0.14.0
>
>         Attachments: HADOOP-1599_1.patch
>
>
> 3 of the TestCopyFiles test cases fail on Windows since 
> http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/152/
> Looks like they all failed due to:
> Copy failed: java.lang.IllegalArgumentException: Wrong FS: file://C:/hudson/workspace/Hadoop-WindowsTest/trunk/build/test/data/srcdat,
expected: file:///
> 	at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:204)
> 	at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:50)
> 	at org.apache.hadoop.fs.RawLocalFileSystem.exists(RawLocalFileSystem.java:217)
> 	at org.apache.hadoop.fs.FilterFileSystem.exists(FilterFileSystem.java:156)
> 	at org.apache.hadoop.util.CopyFiles.run(CopyFiles.java:832)
> 	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)

-- 
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