HDFS-16042. DatanodeAdminMonitor scan should be delay based. Contributed by Ahmed Hussein.
This commit is contained in:
parent
577ed175f9
commit
39c8297350
|
@ -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, " +
|
||||
|
|
Loading…
Reference in New Issue