You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the YCSB dynamodb client support AWS roles and session tokens. Appears to fail
The only thing i am doing differently is storing the assess key and secret key along with security key and session token for the role in the credentials file in the below format
Starting test.
0 [Thread-1] INFO site.ycsb.db.DynamoDBClient -dynamodb connection created with http://dynamodb.ap-south-1.amazonaws.com
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
1 [Thread-1] DEBUG site.ycsb.db.DynamoDBClient -insertkey: firstname-user6284781860667377211 from table: usertable
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.fasterxml.jackson.databind.util.ClassUtil (file:/home/scyllaadm/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.7.3/jackson-databind-2.6.7.3.jar) to field java.lang.Throwable.cause
WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.databind.util.ClassUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
104 [Thread-1] ERROR site.ycsb.db.DynamoDBClient -com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: The security token included in the request is invalid. (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: UnrecognizedClientException; Request ID: 6VGNVC5LE4FN70E738B6MJP44NVV4KQNSO5AEMVJF66Q9ASUAAJG; Proxy: null)
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
My AWSCredentials.properties file ( all password and sensitive information replaced with x)
Does the YCSB dynamodb client support AWS roles and session tokens. Appears to fail
The only thing i am doing differently is storing the assess key and secret key along with security key and session token for the role in the credentials file in the below format
Note
YCSB/bin/ycsb load dynamodb -P /home/scyllaadm/YCSB/dynamodb/conf/dynamodb.properties -p dynamodb.partition_key=firstname -P workloads/workloada
Starting test.
0 [Thread-1] INFO site.ycsb.db.DynamoDBClient -dynamodb connection created with http://dynamodb.ap-south-1.amazonaws.com
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
1 [Thread-1] DEBUG site.ycsb.db.DynamoDBClient -insertkey: firstname-user6284781860667377211 from table: usertable
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.fasterxml.jackson.databind.util.ClassUtil (file:/home/scyllaadm/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.7.3/jackson-databind-2.6.7.3.jar) to field java.lang.Throwable.cause
WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.databind.util.ClassUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
104 [Thread-1] ERROR site.ycsb.db.DynamoDBClient -com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: The security token included in the request is invalid. (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: UnrecognizedClientException; Request ID: 6VGNVC5LE4FN70E738B6MJP44NVV4KQNSO5AEMVJF66Q9ASUAAJG; Proxy: null)
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
My AWSCredentials.properties file ( all password and sensitive information replaced with x)
http://aws.amazon.com/security-credentials
[DevloperAccessRole]
aws_access_key_id = dummy
aws_secret_access_key = dummy
[DeveloperAccessRole]
accessKey = XXXXXXXXXXXXXX2
secretKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXR
sessiontoken = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
securitytoken = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb/2/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxp
x_security_token_expires = 2025-04-25T18:41:02+00:00