org.apache.hadoop.hive.thrift
Class HadoopThriftAuthBridge.Client

java.lang.Object
  extended by org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge.Client
Enclosing class:
HadoopThriftAuthBridge

public abstract static class HadoopThriftAuthBridge.Client
extends Object


Constructor Summary
HadoopThriftAuthBridge.Client()
           
 
Method Summary
abstract  org.apache.thrift.transport.TTransport createClientTransport(String principalConfig, String host, String methodStr, String tokenStrForm, org.apache.thrift.transport.TTransport underlyingTransport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopThriftAuthBridge.Client

public HadoopThriftAuthBridge.Client()
Method Detail

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 null
host - The metastore server host name
methodStr - "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