public class ThriftMetastoreClientFactory extends Object
| Constructor and Description |
|---|
ThriftMetastoreClientFactory(Optional<SSLContext> sslContext,
Optional<com.google.common.net.HostAndPort> socksProxy,
io.airlift.units.Duration timeout,
HiveMetastoreAuthentication metastoreAuthentication,
String hostname) |
ThriftMetastoreClientFactory(ThriftMetastoreConfig config,
HiveMetastoreAuthentication metastoreAuthentication,
NodeManager nodeManager) |
| Modifier and Type | Method and Description |
|---|---|
ThriftMetastoreClient |
create(com.google.common.net.HostAndPort address,
Optional<String> delegationToken) |
public ThriftMetastoreClientFactory(Optional<SSLContext> sslContext, Optional<com.google.common.net.HostAndPort> socksProxy, io.airlift.units.Duration timeout, HiveMetastoreAuthentication metastoreAuthentication, String hostname)
@Inject public ThriftMetastoreClientFactory(ThriftMetastoreConfig config, HiveMetastoreAuthentication metastoreAuthentication, NodeManager nodeManager)
public ThriftMetastoreClient create(com.google.common.net.HostAndPort address, Optional<String> delegationToken) throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionCopyright © 2012–2020. All rights reserved.