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 2019/09/19 02:56:00 UTC

[GitHub] [incubator-druid] mitchlloyd opened a new issue #8559: Kinesis indexing service missing credentials for containers

mitchlloyd opened a new issue #8559: Kinesis indexing service missing credentials for containers
URL: https://github.com/apache/incubator-druid/issues/8559
 
 
   When using the Kinesis indexing service plugin I get the following errors: 
   
   ```
   2019-09-19T02:45:40,119 DEBUG [KinesisSupervisor-spade-kinesis] com.amazonaws.auth.AWSCredentialsProviderChain - Unable to load credentials from org.apache.druid.common.aws.ConfigDrivenAwsCredentialsConfigProvider@6c3ff383: Unable to load AWS credentials from druid AWSCredentialsConfig
   2019-09-18 19:45:402019-09-19T02:45:40,119 DEBUG [KinesisSupervisor-spade-kinesis] com.amazonaws.auth.AWSCredentialsProviderChain - Unable to load credentials from EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY))f90c0f57b5004f3cbfb92739dc859135
   2019-09-18 19:45:402019-09-19T02:45:40,119 DEBUG [KinesisSupervisor-spade-kinesis] com.amazonaws.auth.AWSCredentialsProviderChain - Unable to load credentials from SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey)f90c0f57b5004f3cbfb92739dc859135
   2019-09-18 19:45:402019-09-19T02:45:40,119 DEBUG [KinesisSupervisor-spade-kinesis] com.amazonaws.auth.AWSCredentialsProviderChain - Unable to load credentials from com.amazonaws.auth.profile.ProfileCredentialsProvider@2b0c3f9e: profile file cannot be nullf90c0f57b5004f3cbfb92739dc859135
   ```
   
   I believe the plugin is failing to get ECS credentials because the configured credentials chain differs from the default SDK chain.
   
   [Custom credentials chain](https://github.com/apache/incubator-druid/blob/eeb3dbe79d442dd805ef4483c9c417e1f9cc11a5/cloud/aws-common/src/main/java/org/apache/druid/common/aws/AWSCredentialsUtils.java#L32-L39)
   
   [Default credentials provider AWS docs](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html#credentials-default)
   
   Notice that a `ContainerCredentialsProvider` is missing from the Druid credentials chain.
   
   Maybe it's time to replace this credentials chain with the SDK default?
   
   ### Affected Version
   
   0.15.1
   

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