Selaa lähdekoodia

MAPREDUCE-383. Fix a bug in Pipes combiner due to bytes count not getting reset after the spill. Contributed by Christian Kunz.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20@798080 13f79535-47bb-0310-9956-ffa450edef68
Sharad Agarwal 16 vuotta sitten
vanhempi
commit
a4a91e6e20
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 3 0
      CHANGES.txt
  2. 1 0
      src/c++/pipes/impl/HadoopPipes.cc

+ 3 - 0
CHANGES.txt

@@ -190,6 +190,9 @@ Release 0.20.1 - Unreleased
     HADOOP-6150. Users should be able to instantiate comparator using TFile
     API. (Hong Tang via rangadi)
 
+    MAPREDUCE-383. Fix a bug in Pipes combiner due to bytes count not 
+    getting reset after the spill. (Christian Kunz via sharad)
+
 Release 0.20.0 - 2009-04-15
 
   INCOMPATIBLE CHANGES

+ 1 - 0
src/c++/pipes/impl/HadoopPipes.cc

@@ -596,6 +596,7 @@ namespace HadoopPipes {
         combiner->reduce(context);
       }
       data.clear();
+      numBytes = 0;
     }
   };