rdblue commented on a change in pull request #3663:
URL: https://github.com/apache/iceberg/pull/3663#discussion_r774773786



##########
File path: core/src/main/java/org/apache/iceberg/hadoop/HadoopCatalog.java
##########
@@ -104,6 +107,8 @@ public void initialize(String name, Map<String, String> 
properties) {
     String fileIOImpl = properties.get(CatalogProperties.FILE_IO_IMPL);
     this.fileIO = fileIOImpl == null ? new HadoopFileIO(conf) : 
CatalogUtil.loadFileIO(fileIOImpl, properties, conf);
 
+    this.lockManager = LockManagers.from(properties);

Review comment:
       @CodingCat, the lock manager API has a `close` method that I think 
should be called when the catalog is closed. Can you implement closing similar 
to what's in the `GlueCatalog`?




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to