hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r489177 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/io/SequenceFile.java
Date Wed, 20 Dec 2006 19:33:45 GMT
Author: cutting
Date: Wed Dec 20 11:33:44 2006
New Revision: 489177

URL: http://svn.apache.org/viewvc?view=rev&rev=489177
Log:
HADOOP-835.  Fix a NullPointerException reading record-compressed SequenceFiles.  Contributed
by Hairong.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=489177&r1=489176&r2=489177
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Dec 20 11:33:44 2006
@@ -134,6 +134,9 @@
     standard input and output, respectively.  Standard i/o is
     specified by a file named '-'.  (Wendy Chien via cutting)
 
+38. HADOOP-835.  Fix a NullPointerException reading record-compressed
+    SequenceFiles.  (Hairong Kuang via cutting)
+
 
 Release 0.9.2 - 2006-12-15
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java?view=diff&rev=489177&r1=489176&r2=489177
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/SequenceFile.java Wed Dec 20 11:33:44
2006
@@ -1040,6 +1040,7 @@
           }
         } else {
           codec = new DefaultCodec();
+          ((Configurable)codec).setConf(conf);
         }
       }
       



Mime
View raw message