diff --git a/dynamodb/README.md b/dynamodb/README.md index 61455ed919..04ed25ef80 100644 --- a/dynamodb/README.md +++ b/dynamodb/README.md @@ -36,7 +36,14 @@ for more information on setup. # Properties $DYNAMODB_HOME/conf/dynamodb.properties - $DYNAMODB_HOME/conf/AWSCredentials.properties + +# AWS credentials + +To make requests to Amazon Web Services using the AWS SDK for Java, you must use +cryptographically-signed credentials issued by AWS. +The DynamoDB Client is using the Default Credential Provider chain by default. The available +configuration option to authenticate your client correctly are documented here: +https://docs.aws.amazon.com/sdk-for-java/v2/developer-guide/credentials.html#credentials-default # FAQs * Why is the recommended workload distribution set to 'uniform'? diff --git a/dynamodb/conf/AWSCredentials.properties b/dynamodb/conf/AWSCredentials.properties deleted file mode 100644 index e337b391f0..0000000000 --- a/dynamodb/conf/AWSCredentials.properties +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) 2012 YCSB contributors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you -# may not use this file except in compliance with the License. You -# may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. See the License for the specific language governing -# permissions and limitations under the License. See accompanying -# LICENSE file. - -# Fill in your AWS Access Key ID and Secret Access Key -# http://aws.amazon.com/security-credentials -#accessKey = -#secretKey = diff --git a/dynamodb/conf/dynamodb.properties b/dynamodb/conf/dynamodb.properties index 666f33dbe1..e52daf41b6 100644 --- a/dynamodb/conf/dynamodb.properties +++ b/dynamodb/conf/dynamodb.properties @@ -18,9 +18,6 @@ ## Mandatory parameters -# AWS credentials associated with your aws account. -#dynamodb.awsCredentialsFile = - # Primarykey of table 'usertable' #dynamodb.primaryKey = @@ -69,7 +66,7 @@ #dynamodb.hashKeyValue = # AWS Region code to connect to: -# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions +# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions # Set this parameter, unless you are using the default value ('us-east-1). #dynamodb.region = us-east-1 @@ -86,14 +83,16 @@ # "true" or "false" #dynamodb.debug = false -# Maximum number of concurrent connections -#dynamodb.connectMax = 50 - -# Read consistency.Consistent reads are expensive and consume twice +# Read consistency. Consistent reads are expensive and consume twice # as many resources as eventually consistent reads. Defaults to false. # "true" or "false" #dynamodb.consistentReads = false +# Batch inserts. Use BatchWriteItem API for loading data into the table more efficiently. +# Especially relevant during the YCSB load phase. +# "true" or "false". Defaults to false +#dynamodb.batchInsert = false + # Workload size has implications on provisioned read and write # capacity units.Refer FAQs in README #fieldcount = 10 diff --git a/dynamodb/pom.xml b/dynamodb/pom.xml index cb9a457144..5d560e2b3b 100644 --- a/dynamodb/pom.xml +++ b/dynamodb/pom.xml @@ -1,5 +1,5 @@ -