From 368c77376a3704e3fa395d72b1816d388b5cd782 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 23 Mar 2016 23:22:43 +0900 Subject: [PATCH] MAPREDUCE-6656. [NNBench] OP_DELETE operation isn't working after MAPREDUCE-6363. Contributed by J.Andreina. --- .../src/test/java/org/apache/hadoop/hdfs/NNBench.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java index 666ef0ec55..96c4710b48 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/hdfs/NNBench.java @@ -712,6 +712,7 @@ public void map(Text key, doRenameOp(fileName, reporter); } else if (op.equals(OP_DELETE)) { startTimeTPmS = System.currentTimeMillis(); + doDeleteOp(fileName, reporter); } else { throw new IllegalArgumentException( "unsupported operation [" + op + "]");