org.apache.hadoop.yarn.api.protocolrecords
Interface StrictPreemptionContract


@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface StrictPreemptionContract

Enumeration of particular allocations to be reclaimed. The platform will reclaim exactly these resources, so the 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.

See Also:
PreemptionMessage

Method Summary
 Set<org.apache.hadoop.yarn.api.protocolrecords.PreemptionContainer> getContainers()
          Get the set of PreemptionContainer specifying containers owned by the ApplicationMaster that may be reclaimed by the ResourceManager.
 

Method Detail

getContainers

@InterfaceAudience.Public
@InterfaceStability.Evolving
Set<org.apache.hadoop.yarn.api.protocolrecords.PreemptionContainer> getContainers()
Get the set of PreemptionContainer specifying containers owned by the ApplicationMaster that may be reclaimed by the ResourceManager.

Returns:
the set of ContainerId to be preempted.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.