hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8087) Path parsing is flawed
Date Fri, 17 Feb 2012 22:06:57 GMT

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

Doug Cutting commented on HADOOP-8087:
--------------------------------------

Paths are a subset of URIs.  A relative URI permits an authority even when a scheme is not
present.

I'd expect "//foo/bar" to be interpreted as "${defaultScheme}//foo/bar".

http://tools.ietf.org/html/rfc3986#section-3.3
http://tools.ietf.org/html/rfc3986#section-4.2

                
> Path parsing is flawed
> ----------------------
>
>                 Key: HADOOP-8087
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8087
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>
> {{Path}} is incorrectly parsing {{//dir/path}} in a very unexpected way.  While it should
translate to the directory {{$fs.default.name}/dir/path}}, it instead discards the {{//dir}}
and returns
> {{$fs.default.name/path}}.  The problem is {{Path}} is trying to parsing an authority
even when a scheme is not present.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message