Coder Social home page Coder Social logo

Comments (5)

andrewrguy avatar andrewrguy commented on July 22, 2024 4

Update:
this approach worked:

$ export AWS_ACCESS_KEY_ID=...
$ export AWS_SECRET_ACCESS_KEY=...

However, when I have a production ready system, this approach will not work for me. Any reason, why the properties file is not taking my access ids?

from amazon-kinesis-connectors.

landon9720 avatar landon9720 commented on July 22, 2024 4

I'm having a similar issue running kcl-bootstrap (https://github.com/awslabs/amazon-kinesis-client-nodejs). It seems like it's unable to read credentials in ~/.aws/credentials and fails with SdkClientException: Unable to load AWS credentials from any provider in the chain, although my credentials setup is working elsewhere. Same as mentioned above, if I directly set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, it does work. It's like the environment isn't being passed through somewhere.

from amazon-kinesis-connectors.

jcastrov avatar jcastrov commented on July 22, 2024 3

I solved this adding those variables as root user.

$ sudo su
$ mkdir /root/.aws
$ nano credentials

# After you create the file, exit as root user
$ exit

from amazon-kinesis-connectors.

Aparee20 avatar Aparee20 commented on July 22, 2024

Status :FAILED
Reason :
Log File : s3://aws-logs-388546034523-ap-southeast-2/elasticmapreduce/j-3MMYU5AZJ1UNE/steps/s-2B4ONS94M7B00/stderr.gz
Details : Exception in thread "main" com.amazon.ws.emr.hadoop.fs.shaded.com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain
JAR location : command-runner.jar
Main class : None
Arguments : spark-submit --class com.example.project.SimpleApp --deploy-mode cluster --master yarn s3://XXXXX/spark-log-job_2.10-1.0.jar
Action on failure: Continue

Hi ,
I am facing this issue when i submit spark scala job .
looking for some help on this .

Thanks in Advance .

from amazon-kinesis-connectors.

sudhir05 avatar sudhir05 commented on July 22, 2024

I am still facing this issue, i am running docker container and trying to connect to DynamoDB, when i curl on one of the end point i get "message":"com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain
i am logging in through saml2aws and credentials are already present in .aws folder. Please advise

from amazon-kinesis-connectors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.