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

2013-06-19 Thread Chris Nauroth (JIRA)

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

Chris Nauroth updated YARN-597:
---

Fix Version/s: 2.1.0-beta
 Hadoop Flags: Reviewed

I merged this to branch-2 and branch-2.1-beta and updated CHANGES.txt in trunk 
to move attribution from the trunk section to release 2.1.0-beta.

> 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
> Fix For: 3.0.0, 2.1.0-beta
>
> 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


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

2013-04-21 Thread Ivan Mitic (JIRA)

 [ 
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