[ https://issues.apache.org/jira/browse/HADOOP-18562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926114#comment-17926114 ]
ASF GitHub Bot commented on HADOOP-18562: ----------------------------------------- adideshpande opened a new pull request, #7379: URL: https://github.com/apache/hadoop/pull/7379 <!-- Thanks for sending a pull request! 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute 2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'. --> ### Description of PR - Continues work on https://github.com/apache/hadoop/pull/6550 - Addressed the review comments and added updates to the Javadoc and documentation for s3a custom headers. Description of original PR: ``` Support to add custom headers to s3a s3 and sts client Introducing new custom.headers config for each client type, Upon setting this header each s3/sts request will set these custom headers by setting overrideClientConfig on clients "fs.s3a.client.sts.custom.headers" = "Header1:Value1:Value2,Header2:Value1" "fs.s3a.client.s3.custom.headers" = "Header1:Value1:Value2,Header2:Value1" ``` ### How was this patch tested? Ran integ tests using `mvn -Dparallel-tests -DtestsThreadCount=8 clean verify` for a bucket in us-west-2 UTs added which succeeded as well ### For code changes: - [ Y ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')? - [ Y ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ N/A ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ N/A ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? > S3A: support custom S3 and STS headers > -------------------------------------- > > Key: HADOOP-18562 > URL: https://issues.apache.org/jira/browse/HADOOP-18562 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Reporter: Daniel Carl Jones > Assignee: Prerak Pradhan > Priority: Minor > Labels: pull-request-available > > Some users have the use case where for a particular S3A filesystem, they > would like to set one or more headers to a static value. > We might imagine a set of configurations properties with a common prefix, > where the suffix determines the header name and the value of the property > determines the value of the header. > Per-filesystem headers can be set using the per-bucket configuration. -- 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