java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.PendingAsk

public class PendingAsk extends Object
PendingAsk is the class to include minimal information of how much resource to ask under constraints (e.g. on one host / rack / node-attributes) , etc.
  • Field Details

  • Constructor Details

    • PendingAsk

      public PendingAsk(org.apache.hadoop.yarn.api.records.ResourceSizing sizing)
    • PendingAsk

      public PendingAsk(org.apache.hadoop.yarn.api.records.Resource res, int num)
  • Method Details

    • getPerAllocationResource

      public org.apache.hadoop.yarn.api.records.Resource getPerAllocationResource()
    • getCount

      public int getCount()
    • toString

      public String toString()
      Overrides:
      toString in class Object