@InterfaceAudience.Private
public interface BlacklistManager
Modifier and Type | Method and Description |
---|---|
void |
addNode(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.
|
void addNode(String node)
node
- that has a container failureorg.apache.hadoop.yarn.api.records.ResourceBlacklistRequest getBlacklistUpdates()
ResourceBlacklistRequest
that indicate which nodes should be
added or to removed from the blacklist.ResourceBlacklistRequest
void refreshNodeHostCount(int nodeHostCount)
nodeHostCount
- is the number of node hosts.Copyright © 2017 Apache Software Foundation. All Rights Reserved.