You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2007/03/12 19:07:09 UTC

[jira] Commented: (HADOOP-1109) Streaming, NPE when reading sequencefile

    [ 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.