Re: error when executing mapreduce program

2010-07-20 Thread Wei Xue
Seems you didn't register a Writable factory for your data type. 2010/7/19 Khaled BEN BAHRI > Hello :) > > I developped my first mapreduce program with eclipse. > > when i want to execute it i have this error i tried to solve it but i > failed : > > > > Jul 19, 2010 5:06:37 PM org.apache.hadoop.

Re: INFO: Task Id : attempt_201007191410_0002_m_000000_0, Status : FAILED

2010-07-20 Thread Aaron Kimball
The most likely problem I suspect is that you're emitting a key or a value to the OutputCollector that does not inherit from o.a.h.io.Writable. Your input/output types should all do this. There are stock implementations (IntWritable, LongWritable, FloatWritable, Text -- for strings, etc.) of all th

Re: INFO: Task Id : attempt_201007191410_0002_m_000000_0, Status : FAILED

2010-07-20 Thread Ted Yu
What hadoop version are you using ? I guess you haven't specified io.serializations in your hadoop conf Then by default your class should implement org.apache.hadoop.io.Writable On Tue, Jul 20, 2010 at 6:01 AM, Khaled BEN BAHRI < khaled.ben_ba...@it-sudparis.eu> wrote: > hi > > When i wrote a ma

INFO: Task Id : attempt_201007191410_0002_m_000000_0, Status : FAILED

2010-07-20 Thread Khaled BEN BAHRI
hi When i wrote a mapreduce program i have this error please can any one help me Jul 19, 2010 5:06:31 PM org.apache.hadoop.mapred.JobClient monitorAndPrintJob INFO: Task Id : attempt_201007191410_0002_m_00_0, Status : FAILED java.lang.NullPointerException at org.apache.hadoop.io.serialize