hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6427) Add Path isQualified
Date Fri, 11 Dec 2009 20:20:18 GMT

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

Doug Cutting commented on HADOOP-6427:
--------------------------------------

Symbolic links should be resolved relative to their source location.  So hdfs://x/foo - >
/bar should be interpreted as a link to hdfs://x/bar.  The client should generally rewrite
a symlink with new Path(src, dest) before de-referencing it, assuming src is fully-qualified.
 Should we change the accessor on FileStatus to do this, and perhaps add a getRawLink() method?
 I think the primary path field of a FileStatus (src) is always absolute, no?


> Add Path isQualified
> --------------------
>
>                 Key: HADOOP-6427
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6427
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>         Attachments: hadoop-6427-1.patch
>
>
> The Path class has a method to make a path qualified but not to query if the path is
qualified. This is needed for HADOOP-64221. In addition this patch adds tests to TestPath
that cover the file scheme. Note that "fully qualified" applies to domain names not URIs so
this function and it tests also serve to define what we mean by a fully qualified path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message