steveloughran commented on code in PR #7880:
URL: https://github.com/apache/hadoop/pull/7880#discussion_r2288107530
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java:
##########
@@ -795,10 +801,10 @@ public boolean mkdirs(final Path f, final FsPermission
permission) throws IOExce
@Override
public synchronized void close() throws IOException {
- if (isClosed) {
+ if (isClosed()) {
Review Comment:
@bhattmanish98 I don't see concurrency issues because close() is
synchronized, and once closed it can't be closed again. Of course, once one
thread has closed it, nobody else can use the instance. fix: don't do that.
--
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]