RE: Error calling config method in Mapper

2011-09-15 Thread Shreya.Pal
arsh J [mailto:ha...@cloudera.com] Sent: Thursday, September 15, 2011 6:23 PM To: mapreduce-user@hadoop.apache.org Subject: Re: Error calling config method in Mapper Shreya, On Thu, Sep 15, 2011 at 5:37 PM, wrote: > I used @override does not seem to work. Its just to guarantee that you&

Re: Error calling config method in Mapper

2011-09-15 Thread Harsh J
Shreya, On Thu, Sep 15, 2011 at 5:37 PM, wrote: > I used @override does not seem to work. Its just to guarantee that you're actually overriding things. Its a good practice, not a trouble fixer at all times :) > Configure is not getting called as I populate some collections there that are > us

RE: Error calling config method in Mapper

2011-09-15 Thread Shreya.Pal
@hadoop.apache.org Subject: Re: Error calling config method in Mapper Hello again Shreya, That signature (for configure) looks right and I think it indeed gets called. Unsure about your map call issue as I do not see that signature. Perhaps what you need to resolve this issue by yourself is to make use of

Re: Error calling config method in Mapper

2011-09-15 Thread Harsh J
Hello again Shreya, That signature (for configure) looks right and I think it indeed gets called. Unsure about your map call issue as I do not see that signature. Perhaps what you need to resolve this issue by yourself is to make use of the @Override method annotations in your code. That helps a l

Error calling config method in Mapper

2011-09-15 Thread Shreya.Pal
Hi I have written a mapper class that has the following structure public class TestMapper extends MapReduceBase implements Mapper { public void configure(JobConf conf) { Path [] cacheFiles = DistributedCache.getLocalCacheFiles(conf); if (null != cacheFiles && cacheF