public class HiveClientPool extends ClientPool.ClientPoolImpl<org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException>
Mostly copied from iceberg.
ClientPool.Action<R,C,E extends Exception>, ClientPool.ClientPoolImpl<C,E extends Exception>, ClientPool.ExecuteAction<C,E extends Exception>
Constructor and Description |
---|
HiveClientPool(int poolSize,
org.apache.hadoop.conf.Configuration conf,
String clientClassName) |
Modifier and Type | Method and Description |
---|---|
protected void |
close(org.apache.hadoop.hive.metastore.IMetaStoreClient client) |
close, execute, run
public HiveClientPool(int poolSize, org.apache.hadoop.conf.Configuration conf, String clientClassName)
protected void close(org.apache.hadoop.hive.metastore.IMetaStoreClient client)
close
in class ClientPool.ClientPoolImpl<org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.