[
https://issues.apache.org/jira/browse/HADOOP-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Owen O'Malley updated HADOOP-917:
---------------------------------
Attachment: multi-level-merge.patch
The problem was that the merge code was assuming that outputFile was set and it
wasn't in that context. I've changed the API to the merge code so that the
methods that don't have an output file pass in the tmpDirectory where files
should be created.
> NPE in org.apache.hadoop.io.SequenceFile$Sorter$MergeQueue
> ----------------------------------------------------------
>
> Key: HADOOP-917
> URL: https://issues.apache.org/jira/browse/HADOOP-917
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.10.1
> Reporter: Sami Siren
> Assigned To: Owen O'Malley
> Fix For: 0.11.1
>
> Attachments: multi-level-merge.patch, sequencefile-npe-test.patch
>
>
> After nutch started using hadoop 0.10.1 the following Exception started to
> appear:
> java.lang.NullPointerException
> at
> org.apache.hadoop.io.SequenceFile$Sorter$MergeQueue.merge(SequenceFile.java:2158)
> at
> org.apache.hadoop.io.SequenceFile$Sorter.merge(SequenceFile.java:1892)
> at
> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.mergeParts(MapTask.java:498)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:191)
> at
> org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1367)
> Anyone know the cure?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.