public class LocalizationProtocolPBClientImpl extends Object implements LocalizationProtocol, Closeable
Constructor and Description |
---|
LocalizationProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf) |
public LocalizationProtocolPBClientImpl(long clientVersion, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public LocalizerHeartbeatResponse heartbeat(LocalizerStatus status) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
heartbeat
in interface LocalizationProtocol
org.apache.hadoop.yarn.exceptions.YarnException
IOException
Copyright © 2018 Apache Software Foundation. All Rights Reserved.