BlacklistManagerpublic class SimpleBlacklistManager extends java.lang.Object implements BlacklistManager
| Constructor | Description |
|---|---|
SimpleBlacklistManager(int numberOfNodeManagerHosts,
double blacklistDisableFailureThreshold) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addNode(java.lang.String node) |
Report failure of a container on node.
|
org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest |
getBlacklistUpdates() |
Get
ResourceBlacklistRequest that indicate which nodes should be
added or to removed from the blacklist. |
void |
refreshNodeHostCount(int nodeHostCount) |
Refresh the number of NodeManagers available for scheduling.
|
public SimpleBlacklistManager(int numberOfNodeManagerHosts,
double blacklistDisableFailureThreshold)
public void addNode(java.lang.String node)
BlacklistManageraddNode in interface BlacklistManagernode - that has a container failurepublic void refreshNodeHostCount(int nodeHostCount)
BlacklistManagerrefreshNodeHostCount in interface BlacklistManagernodeHostCount - is the number of node hosts.public org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest getBlacklistUpdates()
BlacklistManagerResourceBlacklistRequest that indicate which nodes should be
added or to removed from the blacklist.getBlacklistUpdates in interface BlacklistManagerResourceBlacklistRequestCopyright © 2008–2025 Apache Software Foundation. All rights reserved.