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, toString
public 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()
RemoteNode
NodeId
.getNodeId
in class RemoteNode
public void setNodeId(org.apache.hadoop.yarn.api.records.NodeId nodeId)
RemoteNode
NodeId
.setNodeId
in class RemoteNode
nodeId
- NodeId.public String getHttpAddress()
RemoteNode
getHttpAddress
in class RemoteNode
public void setHttpAddress(String httpAddress)
RemoteNode
setHttpAddress
in class RemoteNode
httpAddress
- HTTP address.public String getRackName()
RemoteNode
getRackName
in class RemoteNode
public void setRackName(String rackName)
RemoteNode
setRackName
in class RemoteNode
rackName
- Rack Name.public String getNodePartition()
RemoteNode
getNodePartition
in class RemoteNode
public void setNodePartition(String nodePartition)
RemoteNode
setNodePartition
in class RemoteNode
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.