hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r518295 - in /lucene/hadoop/trunk: CHANGES.txt src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamSequenceRecordReader.java
Date Wed, 14 Mar 2007 19:50:20 GMT
Author: tomwhite
Date: Wed Mar 14 12:50:19 2007
New Revision: 518295

URL: http://svn.apache.org/viewvc?view=rev&rev=518295
Log:
HADOOP-1109.  Fix NullPointerException in StreamInputFormat.  Contributed Koji Noguchi.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamSequenceRecordReader.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=518295&r1=518294&r2=518295
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Mar 14 12:50:19 2007
@@ -55,6 +55,9 @@
 16. HADOOP-1115.  Fix bug where FsShell copyToLocal doesn't
     copy directories.  (Hairong Kuang via tomwhite)
 
+17. HADOOP-1109.  Fix NullPointerException in StreamInputFormat.
+    (Koji Noguchi via tomwhite)
+
 
 Release 0.12.0 - 2007-03-02
 

Modified: lucene/hadoop/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamSequenceRecordReader.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamSequenceRecordReader.java?view=diff&rev=518295&r1=518294&r2=518295
==============================================================================
--- lucene/hadoop/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamSequenceRecordReader.java
(original)
+++ lucene/hadoop/trunk/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamSequenceRecordReader.java
Wed Mar 14 12:50:19 2007
@@ -37,6 +37,7 @@
       JobConf job, FileSystem fs) throws IOException {
     super(in, split, reporter, job, fs);
     numFailed_ = 0;
+    seekNextRecordBoundary();
     // super.in_ ignored, using rin_ instead
   }
 



Mime
View raw message