Skip to content

Commit

Permalink
HDFS-16395. Remove useless NNThroughputBenchmark#dummyActionNoSynch(). (
Browse files Browse the repository at this point in the history
apache#3823)

Reviewed-by: Fei Hui <[email protected]>
Signed-off-by: Akira Ajisaka <[email protected]>
  • Loading branch information
jianghuazhu authored Dec 24, 2021
1 parent 4db27ac commit a5659fe
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -578,11 +578,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
*/
Expand All @@ -598,7 +593,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<CreateFlag>(EnumSet
Expand Down

0 comments on commit a5659fe

Please sign in to comment.