[
https://issues.apache.org/jira/browse/HADOOP-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520053
]
Raghu Angadi commented on HADOOP-1717:
--------------------------------------
> Solaris tar does not support -C. Someone should probably check the command
> line on Solaris before we submit the patch again.
http://docs.sun.com/app/docs/doc/816-0210/6m6nb7mmp?a=view says it does. May be
Solaris is more strict on the order. I did not have access to Solaris even to
try the command. Any I will update with that the right command should be. That
might look better than option 4. Looks like it should "-C directory file"
instead of " file -C directory" I have in the patch. I will confirm.
> TestDFSUpgradeFromImage fails on Solaris
> -----------------------------------------
>
> Key: HADOOP-1717
> URL: https://issues.apache.org/jira/browse/HADOOP-1717
> Project: Hadoop
> Issue Type: Bug
> Components: test
> Affects Versions: 0.14.0
> Reporter: Nigel Daley
> Assignee: Raghu Angadi
> Priority: Blocker
> Fix For: 0.14.0
>
> Attachments: HADOOP-1717-2.patch, HADOOP-1717.patch
>
>
> TestDFSUpgradeFromImage is broken on Solaris so all patch builds will fail
> until it is fixed. I believe Raghu is working on a patch which will remove
> the non-standard tar -z dependency.
> From Enis Soztutar:
> TestDFSUpgradeFromImage fails for hadoop-patch and hudson-nightly builds on
> hudson.
> The error thrown is :
> {noformat}
> java.io.IOException: tar: z: unknown function modifier
> at org.apache.hadoop.fs.Command.run(Command.java:33)
> at org.apache.hadoop.fs.Command.execCommand(Command.java:89)
> at
> org.apache.hadoop.dfs.TestDFSUpgradeFromImage.setUp(TestDFSUpgradeFromImage.java:75)
> Standard Output
> 2007-08-15 13:22:38,601 INFO dfs.TestDFSUpgradeFromImage
> (TestDFSUpgradeFromImage.java:setUp(72)) - Unpacking the tar file
> /export/home/hudson/hudson/jobs/Hadoop-Patch/workspace/trunk/build/test/cache/hadoop-12-dfs-dir.tgz
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.