Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.reservation |
Modifier and Type | Class and Description |
---|---|
class |
CapacityOverTimePolicy
This policy enforces a time-extended notion of Capacity.
|
class |
NoOverCommitPolicy
This policy enforce a simple physical cluster capacity constraints, by
validating that the allocation proposed fits in the current plan.
|
Modifier and Type | Method and Description |
---|---|
protected SharingPolicy |
AbstractReservationSystem.getAdmissionPolicy(String queueName) |
SharingPolicy |
PlanContext.getSharingPolicy()
Return the configured
SharingPolicy that governs the sharing of the
resources of the plan between its various users |
SharingPolicy |
InMemoryPlan.getSharingPolicy() |
Constructor and Description |
---|
InMemoryPlan(QueueMetrics queueMetrics,
SharingPolicy policy,
ReservationAgent agent,
org.apache.hadoop.yarn.api.records.Resource totalCapacity,
long step,
org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc,
org.apache.hadoop.yarn.api.records.Resource minAlloc,
org.apache.hadoop.yarn.api.records.Resource maxAlloc,
String queueName,
Planner replanner,
boolean getMoveOnExpiry,
RMContext rmContext) |
InMemoryPlan(QueueMetrics queueMetrics,
SharingPolicy policy,
ReservationAgent agent,
org.apache.hadoop.yarn.api.records.Resource totalCapacity,
long step,
org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc,
org.apache.hadoop.yarn.api.records.Resource minAlloc,
org.apache.hadoop.yarn.api.records.Resource maxAlloc,
String queueName,
Planner replanner,
boolean getMoveOnExpiry,
RMContext rmContext,
org.apache.hadoop.yarn.util.Clock clock) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.