org.apache.hadoop.hive.thrift
Class HadoopThriftAuthBridge.Client
java.lang.Object
org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge.Client
- Enclosing class:
- HadoopThriftAuthBridge
public abstract static class HadoopThriftAuthBridge.Client
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HadoopThriftAuthBridge.Client
public HadoopThriftAuthBridge.Client()
createClientTransport
public abstract org.apache.thrift.transport.TTransport createClientTransport(String principalConfig,
String host,
String methodStr,
String tokenStrForm,
org.apache.thrift.transport.TTransport underlyingTransport)
throws IOException
- Parameters:
principalConfig
- In the case of Kerberos authentication this will
be the kerberos principal name, for DIGEST-MD5 (delegation token) based
authentication this will be nullhost
- The metastore server host namemethodStr
- "KERBEROS" or "DIGEST"tokenStrForm
- This is url encoded string form of
org.apache.hadoop.security.token.underlyingTransport
- the underlying transport
- Returns:
- the transport
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation