Interface BlacklistManager

All Known Implementing Classes:
DisabledBlacklistManager, SimpleBlacklistManager

@Private public interface BlacklistManager
Tracks blacklists based on failures reported on nodes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Report failure of a container on node.
    org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest
    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.
  • Method Details

    • addNode

      void addNode(String node)
      Report failure of a container on node.
      Parameters:
      node - that has a container failure
    • getBlacklistUpdates

      org.apache.hadoop.yarn.api.records.ResourceBlacklistRequest getBlacklistUpdates()
      Get ResourceBlacklistRequest that indicate which nodes should be added or to removed from the blacklist.
      Returns:
      ResourceBlacklistRequest
    • refreshNodeHostCount

      void refreshNodeHostCount(int nodeHostCount)
      Refresh the number of NodeManagers available for scheduling.
      Parameters:
      nodeHostCount - is the number of node hosts.