steveloughran commented on a change in pull request #1925:
URL: https://github.com/apache/hadoop/pull/1925#discussion_r599840802
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsLease.java
##########
@@ -88,6 +88,12 @@ public AbfsLease(AbfsClient client, String path) throws
AzureBlobFileSystemExcep
acquireLease(retryPolicy, 0, 0);
while (leaseID == null && exception == null) {
+ try {
+ future.get();
+ } catch (Exception e) {
+ LOG.debug("Got exception waiting for acquire lease future. Checking if
lease ID or "
+ + "exception have been set", e);
+ }
Review comment:
if this raises an exception, is there any way the while loop will exit?
--
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]