Re: Passing arguments in hadoop

2013-08-06 Thread jamal sasha
Never mind guys. I had a typo when I was trying to set configuration param. Sorry. On Tue, Aug 6, 2013 at 4:46 PM, jamal sasha wrote: > Hi, > I am trying to pass a parameter to multiple mappers > > So, I do this in my driver > > conf.set("delimiter", args[3]); > > In mapper1, I am retreiving

Passing arguments in hadoop

2013-08-06 Thread jamal sasha
Hi, I am trying to pass a parameter to multiple mappers So, I do this in my driver conf.set("delimiter", args[3]); In mapper1, I am retreiving this as: Configuration conf = context.getConfiguration(); String[] values = value.toString().split(conf.get("delimiter")); and same is my mapper2 B