YARN-8768. Javadoc error in node attributes. Contributed by Sunil Govindan.
This commit is contained in:
parent
02b9bfdf9e
commit
8e9afbfb66
@ -56,7 +56,7 @@ public static GetAttributesToNodesRequest newInstance(
|
||||
* Set node attributeKeys for which the mapping of hostname to attribute value
|
||||
* is required.
|
||||
*
|
||||
* @param attributes Set<NodeAttributeKey> provided.
|
||||
* @param attributes Set of NodeAttributeKey provided.
|
||||
*/
|
||||
@Public
|
||||
@Unstable
|
||||
@ -66,7 +66,7 @@ public static GetAttributesToNodesRequest newInstance(
|
||||
* Get node attributeKeys for which mapping of hostname to attribute value is
|
||||
* required.
|
||||
*
|
||||
* @return Set<NodeAttributeKey>
|
||||
* @return Set of NodeAttributeKey
|
||||
*/
|
||||
@Public
|
||||
@Unstable
|
||||
|
@ -56,8 +56,7 @@ public abstract void setAttributeToNodes(
|
||||
* Get mapping of NodeAttributeKey to its associated mapping of list of
|
||||
* NodeToAttributeValue associated with attribute.
|
||||
*
|
||||
* @return Map<NodeAttributeKey, List<NodeToAttributeValue>> node attributes
|
||||
* to list of NodeToAttributeValuenode.
|
||||
* @return Map of node attributes to list of NodeToAttributeValue.
|
||||
*/
|
||||
@Public
|
||||
@Evolving
|
||||
|
@ -57,7 +57,7 @@ public static GetNodesToAttributesRequest newInstance(Set<String> hostNames) {
|
||||
/**
|
||||
* Get hostnames for which mapping is required.
|
||||
*
|
||||
* @return Set<String> of hostnames.
|
||||
* @return Set of hostnames.
|
||||
*/
|
||||
@InterfaceAudience.Public
|
||||
@InterfaceStability.Evolving
|
||||
|
@ -55,7 +55,7 @@ public static GetNodesToAttributesResponse newInstance(
|
||||
/**
|
||||
* Get hostnames to NodeAttributes mapping.
|
||||
*
|
||||
* @return Map<String, Set<NodeAttribute>> host to attributes.
|
||||
* @return Map of host to attributes.
|
||||
*/
|
||||
@Public
|
||||
@Evolving
|
||||
|
@ -103,7 +103,7 @@ Map<String, AttributeValue>> getAttributesToNodes(
|
||||
/**
|
||||
* NodeAttribute to AttributeValue Map.
|
||||
*
|
||||
* @return Map<NodeAttribute, AttributeValue> mapping of Attribute to Value.
|
||||
* @return Map of NodeAttribute to AttributeValue.
|
||||
*/
|
||||
public abstract Map<NodeAttribute, AttributeValue> getAttributesForNode(
|
||||
String hostName);
|
||||
@ -111,7 +111,7 @@ public abstract Map<NodeAttribute, AttributeValue> getAttributesForNode(
|
||||
/**
|
||||
* Get All node to Attributes list based on filter.
|
||||
*
|
||||
* @return List<NodeToAttributes> nodeToAttributes matching filter.If empty
|
||||
* @return List of NodeToAttributes matching filter. If empty
|
||||
* or null is passed as argument will return all.
|
||||
*/
|
||||
public abstract List<NodeToAttributes> getNodeToAttributes(
|
||||
@ -120,7 +120,7 @@ public abstract List<NodeToAttributes> getNodeToAttributes(
|
||||
/**
|
||||
* Get all node to Attributes mapping.
|
||||
*
|
||||
* @return Map<String, Set<NodeAttribute>> nodesToAttributes matching
|
||||
* @return Map of String to Set of nodesToAttributes matching
|
||||
* filter. If empty or null is passed as argument will return all.
|
||||
*/
|
||||
public abstract Map<String, Set<NodeAttribute>> getNodesToAttributes(
|
||||
|
@ -279,8 +279,7 @@ private void replaceNodeToAttribute(String nodeHost, String prefix,
|
||||
* @param nodeAttributeMapping
|
||||
* @param newAttributesToBeAdded
|
||||
* @param isRemoveOperation : to indicate whether its a remove operation.
|
||||
* @return Map<String, Map<NodeAttribute, AttributeValue>>, node -> Map(
|
||||
* NodeAttribute -> AttributeValue)
|
||||
* @return Map of String to Map of NodeAttribute to AttributeValue
|
||||
* @throws IOException : on invalid mapping in the current request or against
|
||||
* already existing NodeAttributes.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user