You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/03/24 22:22:09 UTC

[GitHub] [druid] maytasm3 opened a new pull request #9558: [Backport] S3 ingestion spec should not uses the default credentials provider chain when environment value password provider is misconfigured.

maytasm3 opened a new pull request #9558: [Backport] S3 ingestion spec should not uses the default credentials provider chain when environment value password provider is misconfigured.
URL: https://github.com/apache/druid/pull/9558
 
 
   [Backport] S3 ingestion spec should not uses the default credentials provider chain when environment value password provider is misconfigured.
   
   ### Description
   
   This PR fixes the bug that S3 ingestion spec uses the default credentials provider chain when environment value password provider is misconfigured. The new and correct behavior is that If environment value password provider is misconfigured or any other cases that resulted in the s3 access key and/or s3 secret key from the PasswordProvider being null, the ingestion will failed. The task logs will then surface error message "IllegalArgumentException: Access key cannot be null" to let the user that Access key or secret key was null. Note that ingestion will also fail if only one PasswordProvider is configured (PasswordProvider given for Access key but not Secret key OR PasswordProvider given for Secret key but not Access key).
   
   This PR has:
   - [x] been self-reviewed.
   - [ ] added documentation for new or modified features or behaviors.
   - [ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
   - [ ] added or updated version, license, or notice information in [licenses.yaml](https://github.com/apache/druid/blob/master/licenses.yaml)
   - [ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
   - [ ] added unit tests or modified existing tests to cover new code paths.
   - [x] added integration tests.
   - [x] been tested in a test Druid cluster.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] clintropolis merged pull request #9558: [Backport] S3 ingestion spec should not uses the default credentials provider chain when environment value password provider is misconfigured.

Posted by GitBox <gi...@apache.org>.
clintropolis merged pull request #9558: [Backport] S3 ingestion spec should not uses the default credentials provider chain when environment value password provider is misconfigured.
URL: https://github.com/apache/druid/pull/9558
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org