hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2626) RawLocalFileStatus is badly handling URIs
Date Fri, 18 Jan 2008 01:58:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560193#action_12560193

Hadoop QA commented on HADOOP-2626:

-1 overall.  Here are the results of testing the latest attachment 
against trunk revision r613022.

    @author +1.  The patch does not contain any @author tags.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new compiler 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 failed contrib unit tests.

Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1631/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1631/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1631/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1631/console

This message is automatically generated.

> RawLocalFileStatus is badly handling URIs
> -----------------------------------------
>                 Key: HADOOP-2626
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2626
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.15.2
>            Reporter: Frédéric Bertin
>         Attachments: HADOOP-2626.patch
> as a result, files with special characters (that get encoded when translated to URIs)
are badly handled using a local filesystem.
> {{new Path(f.toURI().toString()))}} should be replaced by {{new Path(f.toURI().getPath()))}}
> IMHO, each call to {{toURI().toString()}} should be considered suspicious. There's another
one in the class CopyFiles at line 641.

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

View raw message