@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class RemoteNode extends Object implements Comparable<RemoteNode>
NodeId as well as the HTTP
 address that can be used to communicate with the Node.| Constructor and Description | 
|---|
| RemoteNode() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(RemoteNode other) | 
| abstract String | getHttpAddress()Get HTTP address. | 
| abstract org.apache.hadoop.yarn.api.records.NodeId | getNodeId()Get  NodeId. | 
| abstract String | getNodePartition()Get Node Partition. | 
| abstract String | getRackName()Get Rack Name. | 
| static RemoteNode | newInstance(org.apache.hadoop.yarn.api.records.NodeId nodeId,
           String httpAddress)Create new Instance. | 
| static RemoteNode | newInstance(org.apache.hadoop.yarn.api.records.NodeId nodeId,
           String httpAddress,
           String rackName)Create new Instance. | 
| static RemoteNode | newInstance(org.apache.hadoop.yarn.api.records.NodeId nodeId,
           String httpAddress,
           String rackName,
           String nodePartition)Create new Instance. | 
| abstract void | setHttpAddress(String httpAddress)Set HTTP address. | 
| abstract void | setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId)Set  NodeId. | 
| abstract void | setNodePartition(String nodePartition)Set Node Partition. | 
| abstract void | setRackName(String rackName)Set Rack Name. | 
| String | toString() | 
@InterfaceAudience.Private @InterfaceStability.Unstable public static RemoteNode newInstance(org.apache.hadoop.yarn.api.records.NodeId nodeId, String httpAddress)
nodeId - NodeId.httpAddress - Http address.@InterfaceAudience.Private @InterfaceStability.Unstable public static RemoteNode newInstance(org.apache.hadoop.yarn.api.records.NodeId nodeId, String httpAddress, String rackName)
nodeId - NodeId.httpAddress - Http address.rackName - Rack Name.@InterfaceAudience.Private @InterfaceStability.Unstable public static RemoteNode newInstance(org.apache.hadoop.yarn.api.records.NodeId nodeId, String httpAddress, String rackName, String nodePartition)
nodeId - NodeId.httpAddress - Http address.rackName - Rack Name.nodePartition - Node Partition.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract org.apache.hadoop.yarn.api.records.NodeId getNodeId()
NodeId.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId)
NodeId.nodeId - NodeId.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract String getHttpAddress()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setHttpAddress(String httpAddress)
httpAddress - HTTP address.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract String getRackName()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setRackName(String rackName)
rackName - Rack Name.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract String getNodePartition()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setNodePartition(String nodePartition)
nodePartition - public int compareTo(RemoteNode other)
compareTo in interface Comparable<RemoteNode>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.