Class ReservationInvariantsChecker
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.monitor.invariants.InvariantsChecker
org.apache.hadoop.yarn.server.resourcemanager.monitor.invariants.ReservationInvariantsChecker
- All Implemented Interfaces:
SchedulingEditPolicy
Invariant checker that checks certain reservation invariants are respected.
-
Field Summary
Fields inherited from class org.apache.hadoop.yarn.server.resourcemanager.monitor.invariants.InvariantsChecker
INVARIANT_MONITOR_INTERVAL, THROW_ON_VIOLATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is invoked at regular intervals.Methods inherited from class org.apache.hadoop.yarn.server.resourcemanager.monitor.invariants.InvariantsChecker
getConf, getContext, getMonitoringInterval, getPolicyName, getScheduler, getThrowOnInvariantViolation, init, logOrThrow
-
Constructor Details
-
ReservationInvariantsChecker
public ReservationInvariantsChecker()
-
-
Method Details
-
editSchedule
public void editSchedule()Description copied from interface:SchedulingEditPolicyThis method is invoked at regular intervals. Internally the policy is allowed to track containers and affect the scheduler. The "actions" performed are passed back through an EventHandler.
-