public class ResourceTrackerPBClientImpl extends Object implements ResourceTracker, Closeable
| Constructor and Description |
|---|
ResourceTrackerPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
NodeHeartbeatResponse |
nodeHeartbeat(NodeHeartbeatRequest request) |
RegisterNodeManagerResponse |
registerNodeManager(RegisterNodeManagerRequest request) |
public ResourceTrackerPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf)
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic RegisterNodeManagerResponse registerNodeManager(RegisterNodeManagerRequest request) throws YarnException, IOException
registerNodeManager in interface ResourceTrackerYarnExceptionIOExceptionpublic NodeHeartbeatResponse nodeHeartbeat(NodeHeartbeatRequest request) throws YarnException, IOException
nodeHeartbeat in interface ResourceTrackerYarnExceptionIOExceptionCopyright © 2018 CERN. All Rights Reserved.