java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.AbstractPreemptionEntity
org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.TempAppPerPartition

public class TempAppPerPartition extends AbstractPreemptionEntity
Temporary data-structure tracking resource availability, pending resource need, current utilization for an application.
  • Method Details

    • getFiCaSchedulerApp

      public FiCaSchedulerApp getFiCaSchedulerApp()
    • assignPreemption

      public void assignPreemption(org.apache.hadoop.yarn.api.records.Resource killable)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPriority

      public int getPriority()
    • getApplicationId

      public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
    • getUser

      public String getUser()
    • deductActuallyToBePreempted

      public void deductActuallyToBePreempted(org.apache.hadoop.yarn.util.resource.ResourceCalculator resourceCalculator, org.apache.hadoop.yarn.api.records.Resource cluster, org.apache.hadoop.yarn.api.records.Resource toBeDeduct)
    • setTempUserPerPartition

      public void setTempUserPerPartition(TempUserPerPartition tu)
    • getTempUserPerPartition

      public TempUserPerPartition getTempUserPerPartition()