You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Meng Mao <me...@gmail.com> on 2010/04/15 08:57:12 UTC

streaming: -f with a zip file?

We are trying to pass into a streaming program a zip file. An invocation
looks like this:

/usr/local/hadoop/bin/hadoop jar
/usr/local/hadoop/contrib/streaming/hadoop-0.20.1+152-streaming.jar ...
 -file 'myfile.zip'
Within the program, it seems like a ZipFile invocation can't locate the zip
file.

Is there anything that might be problematic with a zip file when used with a
-f?

Re: streaming: -f with a zip file?

Posted by Rekha Joshi <re...@yahoo-inc.com>.
I think -file is only for shipping executable or properties file.The extn .zip does not work.Please have a look @ MAPREDUCE-596
Cheers,

On 4/15/10 12:27 PM, "Meng Mao" <me...@gmail.com> wrote:

We are trying to pass into a streaming program a zip file. An invocation
looks like this:

/usr/local/hadoop/bin/hadoop jar
/usr/local/hadoop/contrib/streaming/hadoop-0.20.1+152-streaming.jar ...
 -file 'myfile.zip'
Within the program, it seems like a ZipFile invocation can't locate the zip
file.

Is there anything that might be problematic with a zip file when used with a
-f?