[
https://issues.apache.org/jira/browse/HADOOP-6427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795674#action_12795674
]
Doug Cutting commented on HADOOP-6427:
--------------------------------------
I think this is getting too hairy. Let's just use URI#resolve(src, dest). If
dest is hdfs:///foo, then resolve returns hdfs:///foo and attempts to
dereference the link will fail. We don't implement an authority-defaulting
mechanism when a scheme is provided. Note that one could link to //host/foo,
and if accessed over hftp this would resolve one way, and if over hdfs another.
Sorry for introducing the idea of this feature.
> 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.