[ https://issues.apache.org/jira/browse/HADOOP-19572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952837#comment-17952837 ]
ASF GitHub Bot commented on HADOOP-19572: ----------------------------------------- anmolanmol1234 commented on code in PR #7698: URL: https://github.com/apache/hadoop/pull/7698#discussion_r2097797677 ########## hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsBlobClient.java: ########## @@ -431,6 +435,31 @@ public ListResponseData listPath(final String relativePath, final boolean recurs return listResponseData; } + + @Override + public List<FileStatus> postListProcessing(String relativePath, List<FileStatus> fileStatuses, + TracingContext tracingContext, URI uri) throws AzureBlobFileSystemException { + List<FileStatus> rectifiedFileStatuses = new ArrayList<>(); + if (fileStatuses.isEmpty() && !relativePath.equals(ROOT_PATH)) { Review Comment: !ROOT_PATH.equals(relativePath) for null safety > ABFS: [FnsOverBlob] Empty Page Issue on Subsequent ListBlob call > ---------------------------------------------------------------- > > Key: HADOOP-19572 > URL: https://issues.apache.org/jira/browse/HADOOP-19572 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/azure > Affects Versions: 3.5.0, 3.4.1 > Reporter: Anuj Modi > Priority: Major > Labels: pull-request-available > > We came across a new behavior from server where ListBlob call can return > empty list even after returning a next marker(continuation token) from > previous list call. > This is to handle that case and do not infer listing to be incomplete. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org