org.apache.hadoop.yarn.server.nodemanager.api.impl.pb.client
Class LocalizationProtocolPBClientImpl
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.api.impl.pb.client.LocalizationProtocolPBClientImpl
- All Implemented Interfaces:
- Closeable, LocalizationProtocol
public class LocalizationProtocolPBClientImpl
- extends Object
- implements LocalizationProtocol, Closeable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalizationProtocolPBClientImpl
public LocalizationProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf)
throws IOException
- Throws:
IOException
close
public void close()
- Specified by:
close in interface Closeable
heartbeat
public LocalizerHeartbeatResponse heartbeat(LocalizerStatus status)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
- Specified by:
heartbeat in interface LocalizationProtocol
- Throws:
org.apache.hadoop.yarn.exceptions.YarnException
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.