hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-835) conf not set for the default Codec when initializing a Reader for a record-compressed sequence file
Date Tue, 19 Dec 2006 23:51:25 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-835?page=comments#action_12459794 ] 
Hadoop QA commented on HADOOP-835:

-1, because the patch command could not apply the latest attachment (http://issues.apache.org)
as a patch to trunk revision r488444. Please note that this message is automatically generated
and may represent a problem with the automation system and not the patch.

> conf not set for the default Codec when initializing a Reader for a record-compressed
sequence file
> ---------------------------------------------------------------------------------------------------
>                 Key: HADOOP-835
>                 URL: http://issues.apache.org/jira/browse/HADOOP-835
>             Project: Hadoop
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.9.2
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.10.0
>         Attachments: default_codec.patch
> Because the conf field of a default Codec does not get set when initializing a reader
for a record-compressed sequence file, a NullPointerException is thrown when attempting to
create an input stream for the default Codec as shown in the following stack trace:
> java.lang.NullPointerException
> 	at org.apache.hadoop.io.compress.DefaultCodec.createInputStream(DefaultCodec.java:59)
> 	at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1004)
> 	at org.apache.hadoop.io.SequenceFile$Reader.(SequenceFile.java:927)
> 	at org.apache.hadoop.io.SequenceFile$Reader.(SequenceFile.java:918)
> 	at org.apache.hadoop.mapred.SequenceFileRecordReader.(SequenceFileRecordReader.java:39)
> 	at org.apache.hadoop.mapred.SequenceFileInputFormat.getRecordReader(SequenceFileInputFormat.java:55)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:180)
> 	at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1388)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message