| Modifier and Type | Method | Description |
|---|---|---|
RMNode |
NodesListManagerEvent.getNode() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> |
RMActiveServiceContext.getInactiveRMNodes() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> |
RMContext.getInactiveRMNodes() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> |
RMContextImpl.getInactiveRMNodes() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> |
RMActiveServiceContext.getRMNodes() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> |
RMContext.getRMNodes() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> |
RMContextImpl.getRMNodes() |
|
static java.util.List<RMNode> |
RMServerUtils.queryRMNodes(RMContext context,
java.util.EnumSet<org.apache.hadoop.yarn.api.records.NodeState> acceptedStates) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ClusterMonitor.addNode(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> containerStatuses,
RMNode rmNode) |
|
void |
ClusterMonitor.removeNode(RMNode removedRMNode) |
|
void |
DecommissioningNodesWatcher.update(RMNode rmNode,
org.apache.hadoop.yarn.server.api.records.NodeStatus remoteNodeStatus) |
Update rmNode decommissioning status based on NodeStatus.
|
void |
ClusterMonitor.updateNode(RMNode rmNode) |
|
void |
ClusterMonitor.updateNodeResource(RMNode rmNode,
org.apache.hadoop.yarn.api.records.ResourceOption resourceOption) |
| Constructor | Description |
|---|---|
NodesListManagerEvent(NodesListManagerEventType type,
RMNode node) |
| Modifier and Type | Method | Description |
|---|---|---|
RMNode |
RMAppNodeUpdateEvent.getNode() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
RMApp.pullRMNodeUpdates(java.util.Map<RMNode,org.apache.hadoop.yarn.api.records.NodeUpdateType> updatedNodes) |
To receive the collection of all
RMNodes whose updates have been
received by the RMApp. |
int |
RMAppImpl.pullRMNodeUpdates(java.util.Map<RMNode,org.apache.hadoop.yarn.api.records.NodeUpdateType> upNodes) |
| Constructor | Description |
|---|---|
RMAppNodeUpdateEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId,
RMNode node,
RMAppNodeUpdateEvent.RMAppNodeUpdateType updateType) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
RMNodeImpl |
This class is used to keep track of all the applications/containers
running on a node.
|
| Modifier and Type | Method | Description |
|---|---|---|
RMNode |
RMNodeReconnectEvent.getReconnectedNode() |
| Constructor | Description |
|---|---|
RMNodeReconnectEvent(org.apache.hadoop.yarn.api.records.NodeId nodeId,
RMNode newNode,
java.util.List<org.apache.hadoop.yarn.api.records.ApplicationId> runningApps,
java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> containerReports) |
| Modifier and Type | Method | Description |
|---|---|---|
RMNode |
SchedulerNode.getRMNode() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
AbstractYarnScheduler.nodeUpdate(RMNode nm) |
Process a heartbeat update from a node.
|
void |
AbstractYarnScheduler.recoverContainersOnNode(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> containerReports,
RMNode nm) |
|
void |
AbstractYarnScheduler.updateNodeResource(RMNode nm,
org.apache.hadoop.yarn.api.records.ResourceOption resourceOption) |
Process resource update on a node.
|
protected void |
AbstractYarnScheduler.updateNodeResourceUtilization(RMNode nm,
SchedulerNode schedulerNode) |
Update container and utilization information on the NodeManager.
|
| Constructor | Description |
|---|---|
SchedulerNode(RMNode node,
boolean usePortForNodeName) |
|
SchedulerNode(RMNode node,
boolean usePortForNodeName,
java.util.Set<java.lang.String> labels) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
CapacityScheduler.nodeUpdate(RMNode rmNode) |
| Constructor | Description |
|---|---|
FiCaSchedulerNode(RMNode node,
boolean usePortForNodeName) |
|
FiCaSchedulerNode(RMNode node,
boolean usePortForNodeName,
java.util.Set<java.lang.String> nodeLabels) |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Map<java.lang.String,RMNode> |
NodeQueueLoadMonitor.nodeByHostName |
| Modifier and Type | Method | Description |
|---|---|---|
RMNode |
NodeQueueLoadMonitor.selectAnyNode(java.util.Set<java.lang.String> blacklist,
org.apache.hadoop.yarn.api.records.Resource request) |
Selects a node from all ClusterNodes for resource allocation,
excluding blacklisted nodes.
|
RMNode |
NodeQueueLoadMonitor.selectLocalNode(java.lang.String hostName,
java.util.Set<java.lang.String> blacklist,
org.apache.hadoop.yarn.api.records.Resource request) |
Selects the node as specified by hostName for resource allocation,
unless the node has been blacklisted.
|
RMNode |
NodeQueueLoadMonitor.selectRackLocalNode(java.lang.String rackName,
java.util.Set<java.lang.String> blacklist,
org.apache.hadoop.yarn.api.records.Resource request) |
Selects a node from the rack as specified by rackName
for resource allocation, excluding blacklisted nodes
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
NodeQueueLoadMonitor.addIntoNodeIdsByRack(RMNode addedNode) |
|
void |
NodeQueueLoadMonitor.addNode(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> containerStatuses,
RMNode rmNode) |
|
protected void |
NodeQueueLoadMonitor.onExistingNodeUpdated(RMNode rmNode,
ClusterNode clusterNode,
org.apache.hadoop.yarn.server.api.records.OpportunisticContainersStatus status) |
|
protected void |
NodeQueueLoadMonitor.onNewNodeAdded(RMNode rmNode,
org.apache.hadoop.yarn.server.api.records.OpportunisticContainersStatus status) |
|
protected void |
NodeQueueLoadMonitor.removeFromNodeIdsByRack(RMNode removedNode) |
|
void |
NodeQueueLoadMonitor.removeNode(RMNode removedRMNode) |
|
void |
NodeQueueLoadMonitor.updateNode(RMNode rmNode) |
|
void |
NodeQueueLoadMonitor.updateNodeResource(RMNode rmNode,
org.apache.hadoop.yarn.api.records.ResourceOption resourceOption) |
| Modifier and Type | Method | Description |
|---|---|---|
RMNode |
NodeAddedSchedulerEvent.getAddedRMNode() |
|
RMNode |
NodeRemovedSchedulerEvent.getRemovedRMNode() |
|
RMNode |
NodeResourceUpdateSchedulerEvent.getRMNode() |
|
RMNode |
NodeUpdateSchedulerEvent.getRMNode() |
| Constructor | Description |
|---|---|
NodeAddedSchedulerEvent(RMNode rmNode) |
|
NodeAddedSchedulerEvent(RMNode rmNode,
java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> containerReports) |
|
NodeRemovedSchedulerEvent(RMNode rmNode) |
|
NodeResourceUpdateSchedulerEvent(RMNode rmNode,
org.apache.hadoop.yarn.api.records.ResourceOption resourceOption) |
|
NodeUpdateSchedulerEvent(RMNode rmNode) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
FairScheduler.nodeUpdate(RMNode nm) |
|
void |
FairScheduler.updateNodeResource(RMNode nm,
org.apache.hadoop.yarn.api.records.ResourceOption resourceOption) |
Process resource update on a node and update Queue.
|
| Constructor | Description |
|---|---|
FSSchedulerNode(RMNode node,
boolean usePortForNodeName) |
|
FSSchedulerNode(RMNode node,
boolean usePortForNodeName,
java.util.Set<java.lang.String> labelsOnNode) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
FifoScheduler.nodeUpdate(RMNode nm) |
|
void |
FifoScheduler.recoverContainersOnNode(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> containerReports,
RMNode nm) |
| Constructor | Description |
|---|---|
NodeInfo(RMNode ni,
ResourceScheduler sched) |
|
ResourceUtilizationInfo(RMNode ni) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.