Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.client.api |
Modifier and Type | Method and Description |
---|---|
abstract Map<NodeAttributeKey,List<NodeToAttributeValue>> |
GetAttributesToNodesResponse.getAttributesToNodes()
Get mapping of NodeAttributeKey to its associated mapping of list of
NodeToAttributeValue associated with attribute.
|
abstract Set<NodeAttributeKey> |
GetAttributesToNodesRequest.getNodeAttributes()
Get node attributeKeys for which mapping of hostname to attribute value is
required.
|
Modifier and Type | Method and Description |
---|---|
static GetAttributesToNodesResponse |
GetAttributesToNodesResponse.newInstance(Map<NodeAttributeKey,List<NodeToAttributeValue>> map) |
static GetAttributesToNodesRequest |
GetAttributesToNodesRequest.newInstance(Set<NodeAttributeKey> attributes) |
abstract void |
GetAttributesToNodesResponse.setAttributeToNodes(Map<NodeAttributeKey,List<NodeToAttributeValue>> map) |
abstract void |
GetAttributesToNodesRequest.setNodeAttributes(Set<NodeAttributeKey> attributes)
Set node attributeKeys for which the mapping of hostname to attribute value
is required.
|
Modifier and Type | Method and Description |
---|---|
abstract NodeAttributeKey |
NodeAttributeInfo.getAttributeKey() |
abstract NodeAttributeKey |
NodeAttribute.getAttributeKey() |
static NodeAttributeKey |
NodeAttributeKey.newInstance(String attributeName) |
static NodeAttributeKey |
NodeAttributeKey.newInstance(String attributePrefix,
String attributeName) |
Modifier and Type | Method and Description |
---|---|
static NodeAttributeInfo |
NodeAttributeInfo.newInstance(NodeAttributeKey nodeAttributeKey,
NodeAttributeType attributeType) |
abstract void |
NodeAttributeInfo.setAttributeKey(NodeAttributeKey attributeKey) |
abstract void |
NodeAttribute.setAttributeKey(NodeAttributeKey attributeKey) |
Modifier and Type | Method and Description |
---|---|
abstract Map<NodeAttributeKey,List<NodeToAttributeValue>> |
YarnClient.getAttributesToNodes(Set<NodeAttributeKey> attributes)
The interface used by client to get mapping of AttributeKey to associated
NodeToAttributeValue list for specified node attributeKeys in the cluster.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<NodeAttributeKey,List<NodeToAttributeValue>> |
YarnClient.getAttributesToNodes(Set<NodeAttributeKey> attributes)
The interface used by client to get mapping of AttributeKey to associated
NodeToAttributeValue list for specified node attributeKeys in the cluster.
|
Copyright © 2024 Apache Software Foundation. All rights reserved.