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

Rajesh Kartha commented on HADOOP-8087:
---------------------------------------

Thanks Vinayakumar.

I agree, it could be a rare usage but seems valid. Linux for sure honors that:

[rajeshk@cloudred ~]$ ls -l //home///rajeshk
total 1176
[rajeshk@cloudred ~]$ ls -l ///home//rajeshk
total 1176



> Paths that start with a double slash cause "No filesystem for scheme: null" 
> errors
> ----------------------------------------------------------------------------------
>
>                 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: Rajesh Kartha
>              Labels: BB2015-05-RFC
>         Attachments: HADOOP-8087.001.patch, HADOOP-8087.002.patch, 
> HADOOP-8087.003.patch, HADOOP-8087.004.patch, HADOOP-8087.005.patch
>
>
> {{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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to