From f362b8a4034b719bed41791449584420a522f8bd 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. (cherry picked from commit 368c77376a3704e3fa395d72b1816d388b5cd782) (cherry picked from commit 7a3fd1bc1a2ce93100b6887a97733e262b5e1d56) --- .../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 666ef0ec55a..96c4710b48c 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 class NNBench { doRenameOp(fileName, reporter); } else if (op.equals(OP_DELETE)) { startTimeTPmS = System.currentTimeMillis(); + doDeleteOp(fileName, reporter); } else { throw new IllegalArgumentException( "unsupported operation [" + op + "]");