Package org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge

Examples of org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge.Client


public class HadoopThriftAuthBridge20S extends HadoopThriftAuthBridge {
   static final Log LOG = LogFactory.getLog(HadoopThriftAuthBridge.class);

   @Override
   public Client createClient() {
     return new Client();
   }
View Full Code Here


   @Override
   public Client createClientWithConf(String authType) {
     Configuration conf = new Configuration();
     conf.set(HADOOP_SECURITY_AUTHENTICATION, authType);
     UserGroupInformation.setConfiguration(conf);
     return new Client();
   }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge.Client

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.