[ 
https://issues.apache.org/jira/browse/HADOOP-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480159
 ] 

Mahadev konar commented on HADOOP-1109:
---------------------------------------

this does not seem like the right way to fix it. The StreamInputFormat inherits 
from TextInputFormat and should not return a SequenceFileRecordReader. We 
really need to merge the code for record reader and inputformat in streaming 
and hadoop mainline.

> Streaming, NPE when reading sequencefile 
> -----------------------------------------
>
>                 Key: HADOOP-1109
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1109
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.11.0, 0.11.1, 0.11.2, 0.12.0
>            Reporter: Koji Noguchi
>         Attachments: 1109.patch
>
>
> When using StreamSequenceRecordReader, I get
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.streaming.StreamInputFormat.getRecordReader(StreamInputFormat.java:127)
>       at org.apache.hadoop.mapred.MapTask.run(MapTask.java:139)
>       at 
> org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1445)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to