public interface ResourceAllocationCommitter
Modifier and Type | Method and Description |
---|---|
boolean |
tryCommit(org.apache.hadoop.yarn.api.records.Resource cluster,
ResourceCommitRequest proposal,
boolean updatePending)
Try to commit the allocation Proposal.
|
boolean tryCommit(org.apache.hadoop.yarn.api.records.Resource cluster, ResourceCommitRequest proposal, boolean updatePending)
cluster
- Cluster Resource.proposal
- Proposal.updatePending
- Decrement pending if successful.Copyright © 2008–2022 Apache Software Foundation. All rights reserved.