[ https://issues.apache.org/jira/browse/HADOOP-19531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941549#comment-17941549 ]
ASF GitHub Bot commented on HADOOP-19531: ----------------------------------------- anujmodi2021 commented on code in PR #7582: URL: https://github.com/apache/hadoop/pull/7582#discussion_r2031087291 ########## hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsHttpOperation.java: ########## @@ -500,6 +505,20 @@ private void parseBlockListResponse(final InputStream stream) throws IOException blockIdList = client.parseBlockListResponse(stream); } + private void parseListPathResponse(final InputStream stream) throws IOException { Review Comment: Taken ########## hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsHttpOperation.java: ########## @@ -500,6 +505,20 @@ private void parseBlockListResponse(final InputStream stream) throws IOException blockIdList = client.parseBlockListResponse(stream); } + private void parseListPathResponse(final InputStream stream) throws IOException { + if (stream == null || blockIdList != null) { Review Comment: Was buggy, fixed it > ABFS: [FnsOverBlob] Streaming List Path Result Should Happen Inside Retry Loop > ------------------------------------------------------------------------------ > > Key: HADOOP-19531 > URL: https://issues.apache.org/jira/browse/HADOOP-19531 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/azure > Affects Versions: 3.5.0, 3.4.1 > Reporter: Anuj Modi > Assignee: Anuj Modi > Priority: Major > Labels: pull-request-available > > Listing APIs on both DFS and Blob Endpoints return response as part of > response body and has to be read from an Socket Input Stream. > Any network error occuring while reading the stream should be retried. > Today, this parsing happens in client and such errors are not retried. > This change fixes this behavior -- 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