RussellSpitzer commented on a change in pull request #2328:
URL: https://github.com/apache/iceberg/pull/2328#discussion_r593560354
##########
File path:
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java
##########
@@ -318,7 +369,8 @@ private StorageDescriptor storageDescriptor(TableMetadata
metadata, boolean hive
return storageDescriptor;
}
- private long acquireLock() throws UnknownHostException, TException,
InterruptedException {
+ // Visible for testing
+ protected long acquireLock() throws UnknownHostException, TException,
InterruptedException {
Review comment:
Required for injecting a lock release and second commit, we need to
capture the args to this call to get the lock id
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]