Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 13121 invoked from network); 19 Dec 2006 23:51:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2006 23:51:47 -0000 Received: (qmail 99987 invoked by uid 500); 19 Dec 2006 23:51:53 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 99958 invoked by uid 500); 19 Dec 2006 23:51:53 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 99949 invoked by uid 99); 19 Dec 2006 23:51:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 15:51:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 15:51:45 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 387C1714293 for ; Tue, 19 Dec 2006 15:51:25 -0800 (PST) Message-ID: <30584956.1166572285229.JavaMail.jira@brutus> Date: Tue, 19 Dec 2006 15:51:25 -0800 (PST) From: "Hadoop QA (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-835) conf not set for the default Codec when initializing a Reader for a record-compressed sequence file In-Reply-To: <14671749.1166570301031.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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