HDFS-16042. DatanodeAdminMonitor scan should be delay based (#3058)
This commit is contained in:
parent
9445abb500
commit
a2a0283c7b
|
@ -149,7 +149,7 @@ public class DatanodeAdminManager {
|
|||
throw new RuntimeException("Unable to create the Decommission monitor " +
|
||||
"from "+cls, e);
|
||||
}
|
||||
executor.scheduleAtFixedRate(monitor, intervalSecs, intervalSecs,
|
||||
executor.scheduleWithFixedDelay(monitor, intervalSecs, intervalSecs,
|
||||
TimeUnit.SECONDS);
|
||||
|
||||
LOG.debug("Activating DatanodeAdminManager with interval {} seconds, " +
|
||||
|
|
Loading…
Reference in New Issue