MAPREDUCE-6656. [NNBench] OP_DELETE operation isn't working after MAPREDUCE-6363. Contributed by J.Andreina.

This commit is contained in:
Akira Ajisaka 2016-03-23 23:22:43 +09:00
parent a107cee14b
commit 368c77376a

View File

@ -712,6 +712,7 @@ public void map(Text key,
doRenameOp(fileName, reporter); doRenameOp(fileName, reporter);
} else if (op.equals(OP_DELETE)) { } else if (op.equals(OP_DELETE)) {
startTimeTPmS = System.currentTimeMillis(); startTimeTPmS = System.currentTimeMillis();
doDeleteOp(fileName, reporter);
} else { } else {
throw new IllegalArgumentException( throw new IllegalArgumentException(
"unsupported operation [" + op + "]"); "unsupported operation [" + op + "]");