Package org.apache.hadoop.yarn.server
Class ContainerAllocationHistory
java.lang.Object
org.apache.hadoop.yarn.server.ContainerAllocationHistory
Records the allocation history from YarnRM and provide aggregated insights.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllocationEntry(org.apache.hadoop.yarn.api.records.Container container, ResourceRequestSet requestSet, long fulfillTimeStamp, long fulfillLatency) Record the allocation history for the container.
-
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 forrequestSet- resource request ask setfulfillTimeStamp- time at which allocation happenedfulfillLatency- time elapsed in allocating since asked
-