[
https://issues.apache.org/jira/browse/HADOOP-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
lohit vijayarenu resolved HADOOP-3170.
--------------------------------------
Resolution: Invalid
Doug pointed out I had to use File#toUri(). Closing this was invalid.
> FileSystem.getUri().resolve() should handle Path created on Windows
> -------------------------------------------------------------------
>
> Key: HADOOP-3170
> URL: https://issues.apache.org/jira/browse/HADOOP-3170
> Project: Hadoop Core
> Issue Type: Bug
> Environment: windows
> Reporter: lohit vijayarenu
>
> FileSystem.getUri() returns URI constructed from string "file:///" This when
> applied to absolute Paths created on Windows breaks. For example when using a
> patch constructed like this with DistributedCache(). makeAbsolute(Path) seems
> to return path with drive letter followed by colon. URI.resolve() treats this
> part as authority for local filesystem on windows.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.