anujmodi2021 commented on code in PR #7421:
URL: https://github.com/apache/hadoop/pull/7421#discussion_r2014192835


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsBlobClient.java:
##########
@@ -404,13 +403,8 @@ public ListResponseData listPath(final String 
relativePath, final boolean recurs
       BlobListResultSchema listResultSchema = 
getListResultSchemaFromPathStatus(relativePath, pathStatus);
       LOG.debug("ListBlob attempted on a file path. Returning file status.");
       List<FileStatus> fileStatusList = new ArrayList<>();
-      Map<Path, Integer> renamePendingJsonPaths = new HashMap<>();
       for (BlobListResultEntrySchema entry : listResultSchema.paths()) {
-        if (isRenamePendingJsonPathEntry(entry)) {
-          renamePendingJsonPaths.put(entry.path(), 
entry.contentLength().intValue());
-        } else {
-          fileStatusList.add(getVersionedFileStatusFromEntry(entry, uri));
-        }
+        fileStatusList.add(getVersionedFileStatusFromEntry(entry, uri));

Review Comment:
   This is the code path where handling for listStatus on a file path is done. 
I checked on wasb if the listing is done on a filepath atomicity related checks 
are not performed and rename redo is not triggered. Keeping same behavior here 
as well.



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