You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Khaled BEN BAHRI <Kh...@it-sudparis.eu> on 2010/07/19 17:38:24 UTC

error when executing mapreduce program

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.mapred.JobClient monitorAndPrintJob
INFO: Task Id : attempt_201007191410_0002_m_000001_1, Status : FAILED
java.lang.NullPointerException
	at  
org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
	at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:797)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:350)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
	at org.apache.hadoop.mapred.Child.main(Child.java:170)




thanks for any help

best regards


Re: error when executing mapreduce program

Posted by Wei Xue <si...@gmail.com>.
Seems you didn't register a Writable factory for your data type.

2010/7/19 Khaled BEN BAHRI <Kh...@it-sudparis.eu>

> 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.mapred.JobClient
> monitorAndPrintJob
> INFO: Task Id : attempt_201007191410_0002_m_000001_1, Status : FAILED
> java.lang.NullPointerException
>        at
> org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>        at
> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:797)
>        at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:350)
>        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
>        at org.apache.hadoop.mapred.Child.main(Child.java:170)
>
>
>
>
> thanks for any help
>
> best regards
>
>