Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got an exception when we try to use auth_method: profile #21

Open
Tracked by #22
yuokada opened this issue May 13, 2020 · 2 comments
Open
Tracked by #22

Got an exception when we try to use auth_method: profile #21

yuokada opened this issue May 13, 2020 · 2 comments
Assignees
Labels

Comments

@yuokada
Copy link
Owner

yuokada commented May 13, 2020

Reported by Kai Sasaki.

org.embulk.exec.PartialExecutionException: com.amazonaws.AmazonClientException: Unable to load credentials into profile [PROFILE_NAME]: AWS Access Key ID is not specified.
@yuokada yuokada added the bug label May 13, 2020
@yuokada yuokada self-assigned this May 13, 2020
@yuokada
Copy link
Owner Author

yuokada commented May 19, 2020

@yuokada yuokada changed the title Got an exception when we try to use an aws profile Got an exception when we try to use auth_method: profile May 19, 2020
@yuokada
Copy link
Owner Author

yuokada commented May 19, 2020

In summary,

I assume the cause of the error is based on this issue. embulk/embulk-input-s3#91

So I need to upgrade embulk-util-aws-credentials to 0.3.5 (or later).
However, as I upgrade embulk-util-aws-credentials, aws-java-sdk is upgrade to 1.11.X.

In this version of aws-java-sdk, one of constructors for TransferManager is removed since this was deprecated from 1.10.x.

org.embulk.exec.PartialExecutionException: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.amazonaws.services.s3.transfer.TransferManager.(Lcom/amazonaws/services/s3/AmazonS3;Ljava/util/concurrent/ThreadPoolExecutor;)V

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant