From dd9ac0c0ad33448a46b5e61334bf86975fd9f779 Mon Sep 17 00:00:00 2001 From: Lars Hofhansl Date: Thu, 22 May 2014 11:54:30 -0700 Subject: [PATCH] HBASE-11212 Fix increment index in KeyValueSortReducer. (Gustavo Anatoly) --- .../org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java index 66f49d43440..c4a4732705d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java @@ -51,7 +51,7 @@ public class KeyValueSortReducer extends Reducer 0 && index % 100 == 0) context.setStatus("Wrote " + index); + if (++index % 100 == 0) context.setStatus("Wrote " + index); } } } \ No newline at end of file