The values of -mapper and -reducer are a command lines -- just pu the parameters there -ab On Aug 21, 2008, at 12:14 AM, Gopal Gandhi wrote:
I am using Hadoop streaming and I need to pass arguments to my map/ reduce script. Because a map/reduce script is triggered by hadoop, like hadoop .... -file MAPPER -mapper "$MAPPER" -file REDUCER -reducer "$REDUCER" ...How can I pass arguments to MAPPER? I tried -cmdenv name=val , but it does not work. Anybody can help me? Thanks lot.
