HDFS-16395. Remove useless NNThroughputBenchmark#dummyActionNoSynch(). (#3823)

Reviewed-by: Fei Hui <feihui.ustc@gmail.com>
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit a5659fe0f7)
This commit is contained in:
jianghuazhu 2021-12-24 16:24:12 +08:00 committed by Akira Ajisaka
parent 7b51e6824d
commit b623acff5a
1 changed files with 0 additions and 6 deletions

View File

@ -579,11 +579,6 @@ public class NNThroughputBenchmark implements Tool {
}
}
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 @@ public class NNThroughputBenchmark implements Tool {
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<CreateFlag>(EnumSet