You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (Created) (JIRA)" <ji...@apache.org> on 2012/02/17 22:40:57 UTC
[jira] [Created] (HADOOP-8087) Path parsing is flawed
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
[jira] [Updated] (HADOOP-8087) Path parsing is flawed
Posted by "Robert Joseph Evans (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Joseph Evans updated HADOOP-8087:
----------------------------------------
Target Version/s: 0.23.3, 2.0.0, 3.0.0 (was: 0.23.2, 0.24.0)
> 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
[jira] [Commented] (HADOOP-8087) Path parsing is flawed
Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210610#comment-13210610 ]
Aaron T. Myers commented on HADOOP-8087:
----------------------------------------
Seems like this might be related to HADOOP-7418.
> 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
[jira] [Commented] (HADOOP-8087) Path parsing is flawed
Posted by "Doug Cutting (Commented) (JIRA)" <ji...@apache.org>.
[ 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