|
@@ -149,7 +149,7 @@ public class DatanodeAdminManager {
|
|
throw new RuntimeException("Unable to create the Decommission monitor " +
|
|
throw new RuntimeException("Unable to create the Decommission monitor " +
|
|
"from "+cls, e);
|
|
"from "+cls, e);
|
|
}
|
|
}
|
|
- executor.scheduleAtFixedRate(monitor, intervalSecs, intervalSecs,
|
|
|
|
|
|
+ executor.scheduleWithFixedDelay(monitor, intervalSecs, intervalSecs,
|
|
TimeUnit.SECONDS);
|
|
TimeUnit.SECONDS);
|
|
|
|
|
|
LOG.debug("Activating DatanodeAdminManager with interval {} seconds, " +
|
|
LOG.debug("Activating DatanodeAdminManager with interval {} seconds, " +
|