| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.records | |
| org.apache.hadoop.yarn.server.api.protocolrecords |
| Modifier and Type | Method and Description |
|---|---|
abstract NodeId |
ContainerReport.getAssignedNode()
Get the allocated
NodeId where container is running. |
abstract NodeId |
Container.getNodeId()
Get the identifier of the node on which the container is allocated.
|
abstract NodeId |
NodeReport.getNodeId()
Get the
NodeId of the node. |
abstract NodeId |
NMToken.getNodeId()
Get the
NodeId of the NodeManager for which the NMToken
is used to authenticate. |
static NodeId |
NodeId.newInstance(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
int |
NodeId.compareTo(NodeId other) |
static Container |
Container.newInstance(ContainerId containerId,
NodeId nodeId,
String nodeHttpAddress,
Resource resource,
Priority priority,
Token containerToken) |
static ContainerReport |
ContainerReport.newInstance(ContainerId containerId,
Resource allocatedResource,
NodeId assignedNode,
Priority priority,
long startTime,
long finishTime,
String diagnosticInfo,
String logUrl,
int containerExitStatus,
ContainerState containerState) |
static NodeReport |
NodeReport.newInstance(NodeId nodeId,
NodeState nodeState,
String httpAddress,
String rackName,
Resource used,
Resource capability,
int numContainers,
String healthReport,
long lastHealthReportTime) |
static NMToken |
NMToken.newInstance(NodeId nodeId,
Token token) |
abstract void |
ContainerReport.setAssignedNode(NodeId nodeId) |
abstract void |
Container.setNodeId(NodeId nodeId) |
abstract void |
NodeReport.setNodeId(NodeId nodeId) |
abstract void |
NMToken.setNodeId(NodeId nodeId) |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<NodeId,ResourceOption> |
UpdateNodeResourceRequest.getNodeResourceMap()
Get the map from
NodeId to ResourceOption. |
| Modifier and Type | Method and Description |
|---|---|
static UpdateNodeResourceRequest |
UpdateNodeResourceRequest.newInstance(Map<NodeId,ResourceOption> nodeResourceMap) |
abstract void |
UpdateNodeResourceRequest.setNodeResourceMap(Map<NodeId,ResourceOption> nodeResourceMap)
Set the map from
NodeId to ResourceOption. |
Copyright © 2014 Apache Software Foundation. All Rights Reserved.