[
https://issues.apache.org/jira/browse/HADOOP-10392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076473#comment-14076473
]
Daryn Sharp commented on HADOOP-10392:
--------------------------------------
To summarize, this should be the expected behavior. Does this patch meet this
criteria?
{{FileSystem#makeQualified(Path)}} - verifies path belongs to the fs:
* Fail if the path is qualified for a different fs
* Accept qualified path on this fs
* Qualify relative path against this fs
{{Path#makeQualified(FileSystem)}} - uses given fs to qualify relative paths:
* Accept if the path is qualified for any fs
* Qualify relative path against the given fs
> Use FileSystem#makeQualified(Path) instead of Path#makeQualified(FileSystem)
> ----------------------------------------------------------------------------
>
> Key: HADOOP-10392
> URL: https://issues.apache.org/jira/browse/HADOOP-10392
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs
> Affects Versions: 2.3.0
> Reporter: Akira AJISAKA
> Assignee: Akira AJISAKA
> Priority: Minor
> Labels: newbie
> Attachments: HADOOP-10392.2.patch, HADOOP-10392.3.patch,
> HADOOP-10392.4.patch, HADOOP-10392.4.patch, HADOOP-10392.patch
>
>
> There're some methods calling Path.makeQualified(FileSystem), which causes
> javac warning.
--
This message was sent by Atlassian JIRA
(v6.2#6252)