Skip to content

Commit

Permalink
Add the default ProfileCredentialsProvider to the credentials provide…
Browse files Browse the repository at this point in the history
…r chain

ref #122
  • Loading branch information
julienrf authored and tarzanek committed Apr 2, 2024
1 parent b4c60d5 commit 7858b25
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ object DynamoUtils {
jobConf.set(DynamoDBConstants.DYNAMODB_ACCESS_KEY_CONF, credentials.accessKey)
jobConf.set(DynamoDBConstants.DYNAMODB_SECRET_KEY_CONF, credentials.secretKey)
}
jobConf.set(
DynamoDBConstants.CUSTOM_CREDENTIALS_PROVIDER_CONF,
"com.amazonaws.auth.profile.ProfileCredentialsProvider")
jobConf.set(
"mapred.output.format.class",
"org.apache.hadoop.dynamodb.write.DynamoDBOutputFormat")
Expand Down

0 comments on commit 7858b25

Please sign in to comment.