[ 
https://issues.apache.org/jira/browse/HADOOP-19572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953042#comment-17953042
 ] 

ASF GitHub Bot commented on HADOOP-19572:
-----------------------------------------

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





> 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

Reply via email to