You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Prakash Ramachandran (JIRA)" <ji...@apache.org> on 2014/09/22 05:58:33 UTC

[jira] [Updated] (TEZ-1555) TestTezClientUtils.validateSetTezJarLocalResourcesDefinedButEmpty failing on Windows

     [ 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)