Class ContainerAllocationHistory

java.lang.Object
org.apache.hadoop.yarn.server.ContainerAllocationHistory

public class ContainerAllocationHistory extends Object
Records the allocation history from YarnRM and provide aggregated insights.
  • Constructor Details

    • ContainerAllocationHistory

      public ContainerAllocationHistory(org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • addAllocationEntry

      public void addAllocationEntry(org.apache.hadoop.yarn.api.records.Container container, ResourceRequestSet requestSet, long fulfillTimeStamp, long fulfillLatency)
      Record the allocation history for the container.
      Parameters:
      container - to add record for
      requestSet - resource request ask set
      fulfillTimeStamp - time at which allocation happened
      fulfillLatency - time elapsed in allocating since asked