[
https://issues.apache.org/jira/browse/HADOOP-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
dhruba borthakur updated HADOOP-1226:
-------------------------------------
Attachment: makeQualified2.patch
The problem with the earlier patch was that URI.relativize works to our
convenience only if both paths are fullyQualified.
Task.getFinalPath() invokes taskOutputPath.toUri().relativize(). The problem is
that relativize() does not "really-relativize" if one URI is fully-qualified
whereas the other URI is not. This proposed fix is to keep the taskOutputPath
as a fullyQualified path.
Please comment on whether keeping the task output path as a fullyQualified path
could result in any un-intended behaviour.
> makeQualified should return an instance of a DfsPath when passed a DfsPath
> ----------------------------------------------------------------------------
>
> Key: HADOOP-1226
> URL: https://issues.apache.org/jira/browse/HADOOP-1226
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: Koji Noguchi
> Assigned To: dhruba borthakur
> Fix For: 0.14.0
>
> Attachments: makeQualified2.patch
>
>
> Currently, it returns a instance of a Path.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.