[ https://issues.apache.org/jira/browse/HADOOP-19604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18004223#comment-18004223 ]
ASF GitHub Bot commented on HADOOP-19604: ----------------------------------------- anmolanmol1234 commented on code in PR #7777: URL: https://github.com/apache/hadoop/pull/7777#discussion_r2195571739 ########## hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClient.java: ########## @@ -878,27 +878,29 @@ public boolean appendSuccessCheckOp(AbfsRestOperation op, final String path, * @param leaseId if there is an active lease on the path. * @param contextEncryptionAdapter to provide encryption context. * @param tracingContext for tracing the server calls. + * @param blobMd5 The Base64-encoded MD5 hash of the blob for data integrity validation. * @return executed rest operation containing response from server. * @throws AzureBlobFileSystemException if rest operation fails. */ public abstract AbfsRestOperation flush(String path, long position, boolean retainUncommittedData, boolean isClose, String cachedSasToken, String leaseId, - ContextEncryptionAdapter contextEncryptionAdapter, TracingContext tracingContext) + ContextEncryptionAdapter contextEncryptionAdapter, TracingContext tracingContext, String blobMd5) throws AzureBlobFileSystemException; /** - * Flush previously uploaded data to a file. - * @param buffer containing blockIds to be flushed. - * @param path on which data has to be flushed. - * @param isClose specify if this is the last flush to the file. - * @param cachedSasToken to be used for the authenticating operation. - * @param leaseId if there is an active lease on the path. - * @param eTag to specify conditional headers. - * @param contextEncryptionAdapter to provide encryption context. - * @param tracingContext for tracing the server calls. - * @return executed rest operation containing response from server. - * @throws AzureBlobFileSystemException if rest operation fails. + * Flushes previously uploaded data to the specified path. Review Comment: Taken > ABFS: Fix WASB ABFS compatibility issues > ---------------------------------------- > > Key: HADOOP-19604 > URL: https://issues.apache.org/jira/browse/HADOOP-19604 > Project: Hadoop Common > Issue Type: Sub-task > Affects Versions: 3.4.1 > Reporter: Anmol Asrani > Assignee: Anmol Asrani > Priority: Major > Labels: pull-request-available > Fix For: 3.4.1 > > > Fix WASB ABFS compatibility issues. Fix issues such as:- > # BlockId computation to be consistent across clients for PutBlock and > PutBlockList > # Restrict url encoding of certain json metadata during setXAttr calls. > # Maintain the md5 hash of whole block to validate data integrity during > flush. -- 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