diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java index fde8d01aa0..614a43e70a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java @@ -579,11 +579,6 @@ void generateInputs(int[] opsPerThread) throws IOException { } } - void dummyActionNoSynch(int daemonId, int fileIdx) { - for(int i=0; i < 2000; i++) - fileNames[daemonId][fileIdx].contains(""+i); - } - /** * returns client name */ @@ -599,7 +594,6 @@ String getExecutionArgument(int daemonId) { long executeOp(int daemonId, int inputIdx, String clientName) throws IOException { long start = Time.now(); - // dummyActionNoSynch(fileIdx); clientProto.create(fileNames[daemonId][inputIdx], FsPermission.getDefault(), clientName, new EnumSetWritable(EnumSet