Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.reservation |
Modifier and Type | Method and Description |
---|---|
Map<ReservationInterval,org.apache.hadoop.yarn.api.records.ReservationRequest> |
ReservationAllocation.getAllocationRequests()
Returns the map of resources requested against the time interval for which
they were
|
Modifier and Type | Method and Description |
---|---|
boolean |
RLESparseResourceAllocation.addCompositeInterval(ReservationInterval reservationInterval,
List<org.apache.hadoop.yarn.api.records.ReservationRequest> ReservationRequests,
org.apache.hadoop.yarn.api.records.Resource clusterResource)
Add multiple resources for the specified interval
|
boolean |
RLESparseResourceAllocation.addInterval(ReservationInterval reservationInterval,
org.apache.hadoop.yarn.api.records.ReservationRequest capacity)
Add a resource for the specified interval
|
int |
ReservationInterval.compareTo(ReservationInterval anotherInterval) |
boolean |
RLESparseResourceAllocation.removeInterval(ReservationInterval reservationInterval,
org.apache.hadoop.yarn.api.records.ReservationRequest capacity)
Removes a resource for the specified interval
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.