What version of hadoop are you using? I believe this problem got resolved a
while back (and 0.11.x has the fix).

Thanks
Devaraj.

> -----Original Message-----
> From: Evan Liu [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 12, 2007 5:32 AM
> To: [email protected]
> Subject: Re: java.lang.NullPointerException im Sortetr/MergeQueue
> 
> I've just come across exactly the same problem. Can anyone be so kind to
> help? Thanks!
> 
> sincerely,
> 
> Liu Qingyan - Evan Liu
> Engineer of Platform, Yahoo! China
> -------------------------------------
> Backyard: liuqingy
> Tel: +86-10-65985498
> -------------------------------------
> Devoted, initiative, peaceful. All for work.
> Stay hungry, stay foolish, stay cold.
> 
> 
> 
> Ion Badita wrote:
> > Hi!
> >
> > I tried to run wordcount example with a 1,9 GB input file, on 6 Nodes.
> > Hadoop has split the job in: 31 maps and one reduce.
> >
> > All the maps fail with this stacktrace
> >
> > java.lang.NullPointerException
> >     at
> >
> org.apache.hadoop.io.SequenceFile$Sorter$MergeQueue.merge(SequenceFile.jav
> a:2394)
> >
> >     at
> > org.apache.hadoop.io.SequenceFile$Sorter.merge(SequenceFile.java:2087)
> >     at
> >
> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.mergeParts(MapTask.java:4
> 98)
> >
> >     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:191)
> >     at
> > org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1372)
> >
> >
> > I tried the example with hadoop 0.10.1 and nightly build
> > hadoop-2007-02-02 (with the same input), i got the same exception.
> >
> > Any help will be appreciated.
> > Thanks!
> >
> > John
> >
> >

Reply via email to