You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ivan Mitic (JIRA)" <ji...@apache.org> on 2013/04/21 23:37:15 UTC

[jira] [Updated] (YARN-597) TestFSDownload fails on Windows because of dependencies on tar/gzip/jar tools

     [ https://issues.apache.org/jira/browse/YARN-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Mitic updated YARN-597:
----------------------------

    Attachment: YARN-597.patch

Attaching the patch.

The fix is to change the test such that it uses Java libraries to create jar/zip/tar archives instead of relying on shell tools.
                
> TestFSDownload fails on Windows because of dependencies on tar/gzip/jar tools
> -----------------------------------------------------------------------------
>
>                 Key: YARN-597
>                 URL: https://issues.apache.org/jira/browse/YARN-597
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>         Attachments: YARN-597.patch
>
>
> {{testDownloadArchive}}, {{testDownloadPatternJar}} and {{testDownloadArchiveZip}} fail with the similar Shell ExitCodeException:
> {code}
> testDownloadArchiveZip(org.apache.hadoop.yarn.util.TestFSDownload)  Time elapsed: 480 sec  <<< ERROR!
> org.apache.hadoop.util.Shell$ExitCodeException: bash: line 0: cd: /D:/svn/t/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/target/TestFSDownload: No such file or directory
> gzip: 1: No such file or directory
> 	at org.apache.hadoop.util.Shell.runCommand(Shell.java:377)
> 	at org.apache.hadoop.util.Shell.run(Shell.java:292)
> 	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:497)
> 	at org.apache.hadoop.yarn.util.TestFSDownload.createZipFile(TestFSDownload.java:225)
> 	at org.apache.hadoop.yarn.util.TestFSDownload.testDownloadArchiveZip(TestFSDownload.java:503)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira