HDFS-16042. DatanodeAdminMonitor scan should be delay based. Contributed by Ahmed Hussein.

This commit is contained in:
Jim Brennan 2021-07-15 21:13:25 +00:00
parent 577ed175f9
commit 39c8297350
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public class DatanodeAdminManager {
monitor = new Monitor(blocksPerInterval,
nodesPerInterval, maxConcurrentTrackedNodes);
executor.scheduleAtFixedRate(monitor, intervalSecs, intervalSecs,
executor.scheduleWithFixedDelay(monitor, intervalSecs, intervalSecs,
TimeUnit.SECONDS);
LOG.debug("Activating DatanodeAdminManager with interval {} seconds, " +