@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class StrictPreemptionContract extends Object
ApplicationMaster
(AM)
may attempt to checkpoint work or adjust its execution plan to accommodate
it. In contrast to PreemptionContract
, the AM has no flexibility in
selecting which resources to return to the cluster.PreemptionMessage
Constructor and Description |
---|
StrictPreemptionContract() |
Modifier and Type | Method and Description |
---|---|
abstract Set<PreemptionContainer> |
getContainers()
Get the set of
PreemptionContainer specifying containers owned by
the ApplicationMaster that may be reclaimed by the
ResourceManager . |
public StrictPreemptionContract()
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract Set<PreemptionContainer> getContainers()
PreemptionContainer
specifying containers owned by
the ApplicationMaster
that may be reclaimed by the
ResourceManager
.ContainerId
to be preempted.Copyright © 2017 Apache Software Foundation. All rights reserved.