JingsongLi commented on code in PR #4010:
URL: https://github.com/apache/paimon/pull/4010#discussion_r1726195645
##########
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/pool/CachedClientPool.java:
##########
@@ -77,9 +80,11 @@ public CachedClientPool(Configuration conf, Options options,
String clientClassN
this.conf = conf;
this.clientPoolSize = options.get(CLIENT_POOL_SIZE);
this.evictionInterval =
options.get(CLIENT_POOL_CACHE_EVICTION_INTERVAL_MS);
- this.key = extractKey(options.get(CLIENT_POOL_CACHE_KEYS), conf);
+ this.key = extractKey(options.get(CLIENT_POOL_CACHE_KEYS), conf,
options);
this.clientClassName = clientClassName;
init();
+ // set ugi information to hms client
+ this.clientPool();
Review Comment:
```
try {
run(client -> null);
} catch (TException e) {
throw new RuntimeException(e);
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RuntimeException(e);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]