ソースを参照

HADOOP-645. Fix a bug in contrib/streaming when -reducer is NONE. Contributed by Dhruba.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@472283 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 18 年 前
コミット
fd4ed70abf

+ 3 - 0
CHANGES.txt

@@ -13,6 +13,9 @@ Trunk (unreleased changes)
  3. HADOOP-682.  Fix DFS format command to work correctly when
     configured with a non-existent directory. (Sanjay Dahiya via cutting)
 
+ 4. HADOOP-645.  Fix a bug in contrib/streaming when -reducer is NONE.
+    (Dhruba Borthakur via cutting) 
+
 
 Release 0.8.0 - 2006-11-03
 

+ 0 - 4
src/contrib/streaming/src/java/org/apache/hadoop/streaming/PipeMapRed.java

@@ -291,7 +291,6 @@ public abstract class PipeMapRed {
           }
           f = null;
       }
-      System.out.println("XXX2 argvSplit[0] = " + argvSplit[0]);
       logprintln("PipeMapRed exec " + Arrays.asList(argvSplit));
       logprintln("sideEffectURI_=" + sideEffectURI_);
 
@@ -580,9 +579,6 @@ public abstract class PipeMapRed {
           logprintln("closing " + sideEffectURI_);
           if (sideEffectOut_ != null) sideEffectOut_.close();
           logprintln("closed  " + sideEffectURI_);
-          if (sideEffectURI_.getScheme().equals("file")) {
-            logprintln("size  " + new File(sideEffectURI_).length());
-          }
           if (useSingleSideOutputURI_) {
             // With sideEffectPath_ we wrote in-place. 
             // Possibly a named pipe set up by user or a socket.