anujmodi2021 commented on code in PR #7698: URL: https://github.com/apache/hadoop/pull/7698#discussion_r2099377323
########## hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsBlobClient.java: ########## @@ -2013,6 +2020,8 @@ private static String decodeMetadataAttribute(String encoded) /** * Checks if the listing of the specified path is non-empty. + * Since listing is incomplete as long as continuation token is returned by server, + * we need to iterate until either we get one entry o continuation token becomes null. Review Comment: Taken ########## hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsBlobClient.java: ########## @@ -400,37 +398,46 @@ public ListResponseData listPath(final String relativePath, final boolean recurs listResponseData.setOp(retryListOp); } } + return listResponseData; + } - if (isEmptyListResults(listResponseData) && is404CheckRequired) { + /** + * Post-processing of the list operation on Blob endpoint. + * There are two client hanlding to be done on list output. Review Comment: Taken -- 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