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


##########
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:
   didn't understand why this change to remove renamePending paths was removed



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