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 "Nigel Daley (JIRA)" <ji...@apache.org> on 2008/04/17 19:11:21 UTC

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

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


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.


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

Posted by "Christophe Taton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

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

I just committed this.

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


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

Posted by "Christophe Taton (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591456#action_12591456 ] 

Hadoop QA commented on HADOOP-3268:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12380568/3268-20080419a.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/2295/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2295/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2295/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2295/console

This message is automatically generated.

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


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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591629#action_12591629 ] 

Hudson commented on HADOOP-3268:
--------------------------------

Integrated in Hadoop-trunk #468 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/468/])

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


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

Posted by "Christophe Taton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

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