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

Eli Collins commented on HADOOP-6427:
-------------------------------------

Doug suggested that {{fc.createSymlink("hdfs:///dir/file", "/dir/link")}} 
rather than throw an exception when "/dir/link" is accessed it would use the 
default fs of the file context. Useful for creating eg a link to 
"hdfs:///temp". Sounds good to me. This means the getLinkTarget is allowed to 
return a non-qualified path (just need to check the presence of a schema and 
that the path component is absolute). Since we don't need an isQualified method 
anymore I'll close this out.  Thanks for all the feedback Doug!

> 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.

Reply via email to