Description
Starting at line 76:
int index = 0; for (KeyValue kv : map) { context.write(row, kv); if (index > 0 && index % 100 == 0) context.setStatus("Wrote " + index);
index is a variable inside while loop that is never incremented.
The condition "index > 0" cannot be true.