HBASE-10417 index is not incremented in PutSortReducer#reduce() (Gustavo)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1596381 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2014-05-20 19:54:17 +00:00
parent 71c1d02f02
commit ffc7215a50
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class PutSortReducer extends
int index = 0;
for (KeyValue kv : map) {
context.write(row, kv);
if (index > 0 && index % 100 == 0)
if (++index % 100 == 0)
context.setStatus("Wrote " + index);
}