Author: sharad
Date: Mon Jul 27 08:42:30 2009
New Revision: 798080
URL: http://svn.apache.org/viewvc?rev=798080&view=rev
Log:
MAPREDUCE-383. Fix a bug in Pipes combiner due to bytes count not getting
reset after the spill. Contributed by Christian Kunz.
Modified:
hadoop/common/branches/branch-0.20/CHANGES.txt
hadoop/common/branches/branch-0.20/src/c++/pipes/impl/HadoopPipes.cc
Modified: hadoop/common/branches/branch-0.20/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/CHANGES.txt?rev=798080&r1=798079&r2=798080&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.20/CHANGES.txt Mon Jul 27 08:42:30 2009
@@ -190,6 +190,9 @@
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
Modified: hadoop/common/branches/branch-0.20/src/c++/pipes/impl/HadoopPipes.cc
URL:
http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/src/c%2B%2B/pipes/impl/HadoopPipes.cc?rev=798080&r1=798079&r2=798080&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20/src/c++/pipes/impl/HadoopPipes.cc
(original)
+++ hadoop/common/branches/branch-0.20/src/c++/pipes/impl/HadoopPipes.cc Mon
Jul 27 08:42:30 2009
@@ -596,6 +596,7 @@
combiner->reduce(context);
}
data.clear();
+ numBytes = 0;
}
};