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


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java:
##########
@@ -1281,9 +1283,9 @@ public String listStatus(final Path path, final String 
startFrom,
         AbfsRestOperation op = listResponseData.getOp();
         perfInfo.registerResult(op.getResult());
         continuation = listResponseData.getContinuationToken();
-        List<FileStatus> fileStatusListInCurrItr = 
listResponseData.getFileStatusList();
+        List<VersionedFileStatus> fileStatusListInCurrItr = 
listResponseData.getFileStatusList();
         if (fileStatusListInCurrItr != null && 
!fileStatusListInCurrItr.isEmpty()) {
-          fileStatuses.addAll(fileStatusListInCurrItr);
+          fileStatusList.addAll(fileStatusListInCurrItr);

Review Comment:
   here we are iterating over a list of VersionedFileStatus and maintaing a 
list of FileStatus, shouldn't the new list also be of VersionedFileStatus 
elements ?



-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to