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
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public RegisterNodeManagerResponse registerNodeManager(RegisterNodeManagerRequest request) throws YarnException, IOException
registerNodeManager
in interface ResourceTracker
YarnException
IOException
public NodeHeartbeatResponse nodeHeartbeat(NodeHeartbeatRequest request) throws YarnException, IOException
nodeHeartbeat
in interface ResourceTracker
YarnException
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.