public class LlapManagementProtocolClientImpl extends Object implements LlapManagementProtocolPB
Constructor and Description |
---|
LlapManagementProtocolClientImpl(org.apache.hadoop.conf.Configuration conf,
String hostname,
int port,
org.apache.hadoop.io.retry.RetryPolicy retryPolicy,
SocketFactory socketFactory) |
Modifier and Type | Method and Description |
---|---|
LlapManagementProtocolPB |
createProxy() |
LlapDaemonProtocolProtos.GetTokenResponseProto |
getDelegationToken(com.google.protobuf.RpcController controller,
LlapDaemonProtocolProtos.GetTokenRequestProto request) |
LlapManagementProtocolPB |
getProxy() |
public LlapManagementProtocolClientImpl(org.apache.hadoop.conf.Configuration conf, String hostname, int port, @Nullable org.apache.hadoop.io.retry.RetryPolicy retryPolicy, @Nullable SocketFactory socketFactory)
public LlapManagementProtocolPB getProxy() throws IOException
IOException
public LlapManagementProtocolPB createProxy() throws IOException
IOException
public LlapDaemonProtocolProtos.GetTokenResponseProto getDelegationToken(com.google.protobuf.RpcController controller, LlapDaemonProtocolProtos.GetTokenRequestProto request) throws com.google.protobuf.ServiceException
getDelegationToken
in interface LlapDaemonProtocolProtos.LlapManagementProtocol.BlockingInterface
com.google.protobuf.ServiceException
Copyright © 2021 The Apache Software Foundation. All rights reserved.