Perhaps you can use -cmdenv (environment variables) instead? http://hadoop.apache.org/common/docs/r0.20.2/streaming.html#Specifying+Additional+Configuration+Variables+for+Jobs
Btw, if you are using Python, I suggest taking a look at Dumbo. Things are a lot more easier with it. Dumbo is at http://last.fm/dumbo On Thu, Aug 11, 2011 at 1:37 AM, Premal Shah <[email protected]> wrote: > Is it possible to pass command line arguments to streaming scripts? > eg: python mapper.py --match=2 > > can i pass match=2 using a streaming command to mapper.py? > > -- > Regards, > Premal Shah. > -- Harsh J
