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:
parent
71c1d02f02
commit
ffc7215a50
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue