public class RasBlacklistStrategy extends DefaultBlacklistStrategy
DEFAULT_BLACKLIST_SCHEDULER_RESUME_TIME, DEFAULT_BLACKLIST_SCHEDULER_TOLERANCE_COUNT
Constructor and Description |
---|
RasBlacklistStrategy() |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
releaseBlacklistWhenNeeded(Cluster cluster,
List<String> blacklistedNodeIds)
Decide when/if to release blacklisted hosts.
|
createHostToSupervisorMap, getBlacklist, prepare, resumeFromBlacklist
protected Set<String> releaseBlacklistWhenNeeded(Cluster cluster, List<String> blacklistedNodeIds)
DefaultBlacklistStrategy
releaseBlacklistWhenNeeded
in class DefaultBlacklistStrategy
cluster
- the current state of the cluster.blacklistedNodeIds
- the current set of blacklisted node ids sorted by earliestCopyright © 2023 The Apache Software Foundation. All rights reserved.