public class HiveClientPool extends ClientPool<org.apache.hadoop.hive.metastore.HiveMetaStoreClient,org.apache.thrift.TException>
ClientPool.Action<R,C,E extends java.lang.Exception>
Constructor and Description |
---|
HiveClientPool(int poolSize,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
protected void |
close(org.apache.hadoop.hive.metastore.HiveMetaStoreClient client) |
protected org.apache.hadoop.hive.metastore.HiveMetaStoreClient |
newClient() |
protected org.apache.hadoop.hive.metastore.HiveMetaStoreClient |
reconnect(org.apache.hadoop.hive.metastore.HiveMetaStoreClient client) |
close, run
public HiveClientPool(int poolSize, org.apache.hadoop.conf.Configuration conf)
protected org.apache.hadoop.hive.metastore.HiveMetaStoreClient newClient()
newClient
in class ClientPool<org.apache.hadoop.hive.metastore.HiveMetaStoreClient,org.apache.thrift.TException>
protected org.apache.hadoop.hive.metastore.HiveMetaStoreClient reconnect(org.apache.hadoop.hive.metastore.HiveMetaStoreClient client)
reconnect
in class ClientPool<org.apache.hadoop.hive.metastore.HiveMetaStoreClient,org.apache.thrift.TException>
protected void close(org.apache.hadoop.hive.metastore.HiveMetaStoreClient client)
close
in class ClientPool<org.apache.hadoop.hive.metastore.HiveMetaStoreClient,org.apache.thrift.TException>