public class CachedClientPool
extends java.lang.Object
implements org.apache.iceberg.ClientPool<org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException>
The following key elements are supported and can be specified via CatalogProperties.CLIENT_POOL_CACHE_KEYS:
| Modifier and Type | Method and Description |
|---|---|
<R> R |
run(org.apache.iceberg.ClientPool.Action<R,org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException> action) |
<R> R |
run(org.apache.iceberg.ClientPool.Action<R,org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException> action,
boolean retry) |
public <R> R run(org.apache.iceberg.ClientPool.Action<R,org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException> action)
throws org.apache.thrift.TException,
java.lang.InterruptedException
run in interface org.apache.iceberg.ClientPool<org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException>org.apache.thrift.TExceptionjava.lang.InterruptedExceptionpublic <R> R run(org.apache.iceberg.ClientPool.Action<R,org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException> action,
boolean retry)
throws org.apache.thrift.TException,
java.lang.InterruptedException
run in interface org.apache.iceberg.ClientPool<org.apache.hadoop.hive.metastore.IMetaStoreClient,org.apache.thrift.TException>org.apache.thrift.TExceptionjava.lang.InterruptedException