Description
The index is never incremented inside the loop, therefore context.setStatus also is never set.
int index = 0; for (KeyValue kv: map) { context.write(row, kv); if (index > 0 && index % 100 == 0) context.setStatus("Wrote " + index); }
The index is never incremented inside the loop, therefore context.setStatus also is never set.
int index = 0; for (KeyValue kv: map) { context.write(row, kv); if (index > 0 && index % 100 == 0) context.setStatus("Wrote " + index); }