yuqi1129 commented on code in PR #4395:
URL: https://github.com/apache/gravitino/pull/4395#discussion_r1713451486


##########
iceberg/iceberg-common/src/main/java/org/apache/gravitino/iceberg/common/utils/IcebergCatalogUtil.java:
##########
@@ -99,8 +99,11 @@ private static KerberosClient initKerberosAndReturnClient(
       Map<String, String> properties, Configuration conf) {
     try {
       KerberosClient kerberosClient = new KerberosClient(properties, conf);
-      File keytabFile =
-          
kerberosClient.saveKeyTabFileFromUri(Long.valueOf(properties.get("catalog_uuid")));
+
+      // For Iceberg rest server, we haven't set the catalog_uuid, so we set 
it to 0 as there is
+      // only one catalog in the rest server, so it's okay to set it to 0.
+      String catalogUUID = properties.getOrDefault("catalog_uuid", "0");

Review Comment:
   I need more information on how we will support multiple catalogs so I can 
make the necessary changes.



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