MAPREDUCE-6656. [NNBench] OP_DELETE operation isn't working after MAPREDUCE-6363. Contributed by J.Andreina.
(cherry picked from commit 368c77376a
)
This commit is contained in:
parent
c0c6dd9093
commit
7a3fd1bc1a
|
@ -712,6 +712,7 @@ public class NNBench {
|
||||||
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 + "]");
|
||||||
|
|
Loading…
Reference in New Issue