hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9897) Add method to get path start position without drive specifier in o.a.h.fs.Path
Date Thu, 17 Oct 2013 14:29:46 GMT

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

Hudson commented on HADOOP-9897:
--------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1581 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1581/])
HADOOP-9897. Add method to get path start position without drive specifier in o.a.h.fs.Path.
Contributed by Binglin Chang. (cnauroth: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532880)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Path.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestPath.java


> 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
>          Components: fs
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>            Priority: Trivial
>             Fix For: 3.0.0, 2.3.0
>
>         Attachments: HADOOP-9897.v1.patch, HADOOP-9897.v2.patch, HADOOP-9897.v2.patch,
HADOOP-9897.v3.patch, HADOOP-9897.v4.patch, HADOOP-9897.v5.patch, HADOOP-9897.v6.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 was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message