[
https://issues.apache.org/jira/browse/TEZ-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prakash Ramachandran updated TEZ-1555:
--------------------------------------
Attachment: tez-1555.1.patch
patch 1
- used the toUrl method to construct url from File, instead of doing it by hand.
- tested on linux and windows.
> TestTezClientUtils.validateSetTezJarLocalResourcesDefinedButEmpty failing on
> Windows
> ------------------------------------------------------------------------------------
>
> Key: TEZ-1555
> URL: https://issues.apache.org/jira/browse/TEZ-1555
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Hitesh Shah
> Attachments: tez-1555.1.patch
>
>
> Error Message
> Wrong FS:
> file://D:/w/tez/tez-api/target/org.apache.tez.client.TestTezClientUtils-tmpDir/emptyDir,
> expected: file:///
> Stacktrace
> java.lang.IllegalArgumentException: Wrong FS:
> file://D:/w/tez/tez-api/target/org.apache.tez.client.TestTezClientUtils-tmpDir/emptyDir,
> expected: file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:645)
> at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:465)
> at
> org.apache.hadoop.fs.FilterFileSystem.makeQualified(FilterFileSystem.java:119)
> at
> org.apache.tez.client.TezClientUtils.getLRFileStatus(TezClientUtils.java:132)
> at
> org.apache.tez.client.TezClientUtils.setupTezJarsLocalResources(TezClientUtils.java:198)
> at
> org.apache.tez.client.TestTezClientUtils.validateSetTezJarLocalResourcesDefinedButEmpty(TestTezClientUtils.java:77)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)