SchedulingEditPolicypublic class MetricsInvariantChecker extends InvariantsChecker
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
INVARIANTS_FILE |
INVARIANT_MONITOR_INTERVAL, THROW_ON_VIOLATION| Constructor | Description |
|---|---|
MetricsInvariantChecker() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
editSchedule() |
This method is invoked at regular intervals.
|
void |
init(org.apache.hadoop.conf.Configuration config,
RMContext rmContext,
ResourceScheduler scheduler) |
getConf, getContext, getMonitoringInterval, getPolicyName, getScheduler, getThrowOnInvariantViolation, logOrThrowpublic static final java.lang.String INVARIANTS_FILE
public void init(org.apache.hadoop.conf.Configuration config,
RMContext rmContext,
ResourceScheduler scheduler)
init in interface SchedulingEditPolicyinit in class InvariantsCheckerpublic void editSchedule()
SchedulingEditPolicyCopyright © 2008–2025 Apache Software Foundation. All rights reserved.