RE: SerializationFactory NullPointerException

2010-07-02 Thread Laszlo Dosa
Thanks. From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Wednesday, June 30, 2010 11:11 PM To: mapreduce-user@hadoop.apache.org Subject: Re: SerializationFactory NullPointerException You should add this: job.setInputFormatClass(TextInputFormat.class); And your TokenizerMapper should

Re: SerializationFactory NullPointerException

2010-06-30 Thread Ted Yu
You should add this: job.setInputFormatClass(TextInputFormat.class); And your TokenizerMapper should extend Mapperwrote: > Hi, > > My input look like (userid, itemid) as follows: > ... > 122641863,5060057723326 > 123441107,9789020282948 > ... > > I tried to write a MapReduce Job with Mapper Int