corgy-w commented on code in PR #10253:
URL: https://github.com/apache/seatunnel/pull/10253#discussion_r2650090563


##########
seatunnel-connectors-v2/connector-hive/src/main/java/org/apache/seatunnel/connectors/seatunnel/hive/utils/HiveMetaStoreCatalog.java:
##########
@@ -136,6 +140,48 @@ private HiveMetaStoreClient initializeClient() {
         }
     }
 
+    private IMetaStoreClient createClient(HiveConf hiveConf) throws Exception {
+        IMetaStoreClient retryingClient = tryCreateRetryingClient(hiveConf);
+        if (retryingClient != null) {
+            return retryingClient;
+        }
+        return new HiveMetaStoreClient(hiveConf);
+    }
+
+    private IMetaStoreClient tryCreateRetryingClient(HiveConf hiveConf) {
+        try {
+            Class<?> clazz = 
Class.forName(RETRYING_METASTORE_CLIENT_CLASS_NAME);
+            for (Method method : clazz.getMethods()) {

Review Comment:
   +1 @yzeng1618 



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