ahmarsuhail commented on code in PR #7443:
URL: https://github.com/apache/hadoop/pull/7443#discussion_r2068945451


##########
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/RequestFactoryImpl.java:
##########
@@ -709,6 +742,18 @@ public void setEncryptionSecrets(final EncryptionSecrets 
secrets) {
     encryptionSecrets = secrets;
   }
 
+  private void addRequestLevelHeaders(AwsRequest.Builder requestBuilder) {
+    AwsRequestOverrideConfiguration.Builder builder = 
AwsRequestOverrideConfiguration.builder();
+
+    if (isRequesterPays) {
+      builder.putHeader(REQUESTER_PAYS_HEADER, REQUESTER_PAYS_HEADER_VALUE);
+    }
+
+    builder.putHeader(USER_AGENT, userAgent);

Review Comment:
   yup, tracked in https://issues.apache.org/jira/browse/HADOOP-19365, will add 
audit support for CRT 



-- 
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

Reply via email to