Package | Description |
---|---|
org.apache.hadoop.yarn.api.records |
Modifier and Type | Method and Description |
---|---|
static PreemptionResourceRequest |
PreemptionResourceRequest.newInstance(ResourceRequest req) |
Modifier and Type | Method and Description |
---|---|
abstract List<PreemptionResourceRequest> |
PreemptionContract.getResourceRequest()
If the AM releases resources matching these requests, then the
PreemptionContainer s enumerated in PreemptionContract.getContainers() should not be
evicted from the cluster. |
Modifier and Type | Method and Description |
---|---|
static PreemptionContract |
PreemptionContract.newInstance(List<PreemptionResourceRequest> req,
Set<PreemptionContainer> containers) |
abstract void |
PreemptionContract.setResourceRequest(List<PreemptionResourceRequest> req) |
Copyright © 2015 Apache Software Foundation. All rights reserved.