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 @@ void activate(Configuration conf) {
|
||||
|
||||
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…
x
Reference in New Issue
Block a user