public class SCMAdminProtocolPBClientImpl extends Object implements org.apache.hadoop.yarn.server.api.SCMAdminProtocol, Closeable
Constructor and Description |
---|
SCMAdminProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskResponse |
runCleanerTask(org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskRequest request) |
public SCMAdminProtocolPBClientImpl(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 org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskResponse runCleanerTask(org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
runCleanerTask
in interface org.apache.hadoop.yarn.server.api.SCMAdminProtocol
org.apache.hadoop.yarn.exceptions.YarnException
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.