[ 
https://issues.apache.org/jira/browse/HADOOP-9897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Binglin Chang updated HADOOP-9897:
----------------------------------

    Attachment: HADOOP-9897.v2.patch
    
> Add method to get path start position without drive specifier in 
> o.a.h.fs.Path  
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-9897
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9897
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>            Priority: Trivial
>         Attachments: HADOOP-9897.v1.patch, HADOOP-9897.v2.patch, 
> HADOOP-9897.v2.patch
>
>
> There are a lot of code in Path to get start position after skipping drive 
> specifier, like:
> {code}
>     int start = hasWindowsDrive(uri.getPath()) ? 3 : 0;
> {code}
> Also there is a minor bug in mergePaths:
> mergePath("/", "/foo") will yield Path("//foo") which will be parsed as uri 
> authority, not path.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to