public class ContainerAllocationHistory extends Object
| Constructor and Description |
|---|
ContainerAllocationHistory(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllocationEntry(org.apache.hadoop.yarn.api.records.Container container,
ResourceRequestSet requestSet,
long fulfillTimeStamp,
long fulfillLatency)
Record the allocation history for the container.
|
public ContainerAllocationHistory(org.apache.hadoop.conf.Configuration conf)
public void addAllocationEntry(org.apache.hadoop.yarn.api.records.Container container,
ResourceRequestSet requestSet,
long fulfillTimeStamp,
long fulfillLatency)
container - to add record forrequestSet - resource request ask setfulfillTimeStamp - time at which allocation happenedfulfillLatency - time elapsed in allocating since askedCopyright © 2008–2024 Apache Software Foundation. All rights reserved.