public class RemoteNodePBImpl extends RemoteNode
RemoteNode.| Constructor and Description |
|---|
RemoteNodePBImpl() |
RemoteNodePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RemoteNodeProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getHttpAddress()
Get HTTP address.
|
org.apache.hadoop.yarn.api.records.NodeId |
getNodeId()
Get
NodeId. |
String |
getNodePartition()
Get Node Partition.
|
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RemoteNodeProto |
getProto() |
String |
getRackName()
Get Rack Name.
|
int |
hashCode() |
void |
setHttpAddress(String httpAddress)
Set HTTP address.
|
void |
setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId)
Set
NodeId. |
void |
setNodePartition(String nodePartition)
Set Node Partition.
|
void |
setRackName(String rackName)
Set Rack Name.
|
compareTo, newInstance, newInstance, newInstance, toStringpublic RemoteNodePBImpl()
public RemoteNodePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RemoteNodeProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.RemoteNodeProto getProto()
public org.apache.hadoop.yarn.api.records.NodeId getNodeId()
RemoteNodeNodeId.getNodeId in class RemoteNodepublic void setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId)
RemoteNodeNodeId.setNodeId in class RemoteNodenodeId - NodeId.public String getHttpAddress()
RemoteNodegetHttpAddress in class RemoteNodepublic void setHttpAddress(String httpAddress)
RemoteNodesetHttpAddress in class RemoteNodehttpAddress - HTTP address.public String getRackName()
RemoteNodegetRackName in class RemoteNodepublic void setRackName(String rackName)
RemoteNodesetRackName in class RemoteNoderackName - Rack Name.public String getNodePartition()
RemoteNodegetNodePartition in class RemoteNodepublic void setNodePartition(String nodePartition)
RemoteNodesetNodePartition in class RemoteNodeCopyright © 2008–2022 Apache Software Foundation. All rights reserved.