You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Christophe Taton (JIRA)" <ji...@apache.org> on 2008/04/19 16:54:21 UTC

[jira] Updated: (HADOOP-3268) TestUrlStreamHandler.testFileUrls fails on Windows

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

Christophe Taton updated HADOOP-3268:
-------------------------------------

    Attachment: 3268-20080419a.patch

Here is a small fix that should work on linux and on windows as well.

> TestUrlStreamHandler.testFileUrls fails on Windows
> --------------------------------------------------
>
>                 Key: HADOOP-3268
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3268
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.18.0
>            Reporter: Nigel Daley
>            Assignee: Christophe Taton
>         Attachments: 3268-20080419a.patch
>
>
> org.apache.hadoop.fs.TestUrlStreamHandler.testFileUrls fails on Windows with this exception:
> java.net.URISyntaxException: Illegal character in authority at index 7: file://C:\hudson\workspace\Hadoop-WindowsTest\trunk\build\test/thefile
> 	at java.net.URI$Parser.fail(URI.java:2816)
> 	at java.net.URI$Parser.parseAuthority(URI.java:3154)
> 	at java.net.URI$Parser.parseHierarchical(URI.java:3065)
> 	at java.net.URI$Parser.parse(URI.java:3021)
> 	at java.net.URI.<init>(URI.java:578)
> 	at org.apache.hadoop.fs.TestUrlStreamHandler.testFileUrls(TestUrlStreamHandler.java:119)

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