Uses of Interface
org.apache.hadoop.yarn.server.resourcemanager.reservation.Plan

Packages that use Plan
org.apache.hadoop.yarn.server.resourcemanager.reservation   
 

Uses of Plan in org.apache.hadoop.yarn.server.resourcemanager.reservation
 

Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation that return Plan
 Plan ReservationSystem.getPlan(String planName)
          Get an existing Plan that has been initialized.
 Plan AbstractReservationSystem.getPlan(String planName)
           
protected  Plan CapacityReservationSystem.initializePlan(String planQueueName)
           
protected abstract  Plan AbstractReservationSystem.initializePlan(String planQueueName)
           
 Plan ReservationInputValidator.validateReservationDeleteRequest(ReservationSystem reservationSystem, org.apache.hadoop.yarn.api.protocolrecords.ReservationDeleteRequest request)
          Quick validation on the input to check some obvious fail conditions (fail fast) the input and returns the appropriate Plan associated with the specified Queue or throws an exception message illustrating the details of any validation check failures
 Plan ReservationInputValidator.validateReservationSubmissionRequest(ReservationSystem reservationSystem, org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionRequest request, org.apache.hadoop.yarn.api.records.ReservationId reservationId)
          Quick validation on the input to check some obvious fail conditions (fail fast) the input and returns the appropriate Plan associated with the specified Queue or throws an exception message illustrating the details of any validation check failures
 Plan ReservationInputValidator.validateReservationUpdateRequest(ReservationSystem reservationSystem, org.apache.hadoop.yarn.api.protocolrecords.ReservationUpdateRequest request)
          Quick validation on the input to check some obvious fail conditions (fail fast) the input and returns the appropriate Plan associated with the specified Queue or throws an exception message illustrating the details of any validation check failures
 

Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation that return types with arguments of type Plan
 Map<String,Plan> ReservationSystem.getAllPlans()
          Return a map containing all the plans known to this ReservationSystem (useful for UI)
 Map<String,Plan> AbstractReservationSystem.getAllPlans()
           
 

Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation with parameters of type Plan
 boolean ReservationAgent.createReservation(org.apache.hadoop.yarn.api.records.ReservationId reservationId, String user, Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition contract)
          Create a reservation for the user that abides by the specified contract
 boolean GreedyReservationAgent.createReservation(org.apache.hadoop.yarn.api.records.ReservationId reservationId, String user, Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition contract)
           
 boolean ReservationAgent.deleteReservation(org.apache.hadoop.yarn.api.records.ReservationId reservationId, String user, Plan plan)
          Delete an user reservation
 boolean GreedyReservationAgent.deleteReservation(org.apache.hadoop.yarn.api.records.ReservationId reservationId, String user, Plan plan)
           
 void SimpleCapacityReplanner.plan(Plan plan, List<org.apache.hadoop.yarn.api.records.ReservationDefinition> contracts)
           
 void Planner.plan(Plan plan, List<org.apache.hadoop.yarn.api.records.ReservationDefinition> contracts)
          Update the existing Plan, by adding/removing/updating existing reservations, and adding a subset of the reservation requests in the contracts parameter.
 void PlanFollower.synchronizePlan(Plan plan)
          The function performing the actual synchronization operation for a given Plan.
 void CapacitySchedulerPlanFollower.synchronizePlan(Plan plan)
           
 boolean ReservationAgent.updateReservation(org.apache.hadoop.yarn.api.records.ReservationId reservationId, String user, Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition contract)
          Update a reservation for the user that abides by the specified contract
 boolean GreedyReservationAgent.updateReservation(org.apache.hadoop.yarn.api.records.ReservationId reservationId, String user, Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition contract)
           
 void SharingPolicy.validate(Plan plan, ReservationAllocation newAllocation)
          This method runs the policy validation logic, and return true/false on whether the ReservationAllocation is acceptable according to this sharing policy.
 void NoOverCommitPolicy.validate(Plan plan, ReservationAllocation reservation)
           
 void CapacityOverTimePolicy.validate(Plan plan, ReservationAllocation reservation)
           
 

Method parameters in org.apache.hadoop.yarn.server.resourcemanager.reservation with type arguments of type Plan
 void PlanFollower.init(org.apache.hadoop.yarn.util.Clock clock, ResourceScheduler sched, Collection<Plan> plans)
          Init function that configures the PlanFollower, by providing:
 void CapacitySchedulerPlanFollower.init(org.apache.hadoop.yarn.util.Clock clock, ResourceScheduler sched, Collection<Plan> plans)
           
 void PlanFollower.setPlans(Collection<Plan> plans)
          Setter for the list of plans.
 void CapacitySchedulerPlanFollower.setPlans(Collection<Plan> plans)
           
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.