JingsongLi commented on code in PR #4010:
URL: https://github.com/apache/paimon/pull/4010#discussion_r1726195858


##########
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/pool/CachedClientPool.java:
##########
@@ -239,11 +289,58 @@ public String value() {
             return value;
         }
 
+        @Override
+        public boolean equals(Object obj) {
+            if (this == obj) {
+                return true;
+            }
+            if (obj == null || getClass() != obj.getClass()) {
+                return false;
+            }
+            ConfElement other = (ConfElement) obj;
+            return Objects.equals(key, other.key) && Objects.equals(value, 
other.value);
+        }
+
+        @Override
+        public int hashCode() {
+            return Objects.hash(key, value);
+        }
+
         public static ConfElement of(String key, String value) {
             return new ConfElement(key, value);
         }
     }
 
+    static class UserGroupInformationConf {

Review Comment:
   Why need to introduce `UserGroupInformationConf`? Revert this?



##########
paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/pool/HiveClientPool.java:
##########
@@ -45,6 +45,12 @@ public HiveClientPool(int poolSize, Configuration conf, 
String clientClassName)
         this.hiveConf = new HiveConf(conf, HiveClientPool.class);
         this.hiveConf.addResource(conf);
         this.clientClassName = clientClassName;
+        // set ugi information to hms client
+        try {
+            this.run(client -> null);

Review Comment:
   remove this



-- 
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]

Reply via email to