Modifier and Type | Method and Description |
---|---|
static NodeType |
NodeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
NodeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
AppSchedulingInfo.allocate(NodeType type,
SchedulerNode node,
Priority priority,
ResourceRequest request,
Container container)
Resources have been allocated to this application by the resource
scheduler.
|
Modifier and Type | Method and Description |
---|---|
NodeType |
CSAssignment.getType() |
Modifier and Type | Method and Description |
---|---|
void |
CSAssignment.setType(NodeType type) |
Constructor and Description |
---|
CSAssignment(Resource resource,
NodeType type) |
Modifier and Type | Method and Description |
---|---|
RMContainer |
FiCaSchedulerApp.allocate(NodeType type,
FiCaSchedulerNode node,
Priority priority,
ResourceRequest request,
Container container) |
Modifier and Type | Method and Description |
---|---|
NodeType |
FSSchedulerApp.getAllowedLocalityLevel(Priority priority,
int numNodes,
double nodeLocalityThreshold,
double rackLocalityThreshold)
Return the level at which we are allowed to schedule containers, given the
current size of the cluster and thresholds indicating how many nodes to
fail at (as a fraction of cluster size) before relaxing scheduling
constraints.
|
Modifier and Type | Method and Description |
---|---|
RMContainer |
FSSchedulerApp.allocate(NodeType type,
FSSchedulerNode node,
Priority priority,
ResourceRequest request,
Container container) |
void |
FSSchedulerApp.resetAllowedLocalityLevel(Priority priority,
NodeType level)
Should be called when the scheduler assigns a container at a higher
degree of locality than the current threshold.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.