koochiswathiTR commented on issue #6606:
URL: https://github.com/apache/hudi/issues/6606#issuecomment-1243283424

   @nsivabalan 
   
   Hi,
   This is the first time we are setting up hudi with Multi writer,
   Below are my hudi config properties, I have set up
   
HoodieWriteConfig.WRITE_CONCURRENCY_MODE.key()->"optimistic_concurrency_control",
   HoodieCompactionConfig.FAILED_WRITES_CLEANER_POLICY.key()->"LAZY",
   HoodieLockConfig.LOCK_ACQUIRE_NUM_RETRIES.key()->"3000",
   HoodieLockConfig.LOCK_ACQUIRE_CLIENT_NUM_RETRIES.key()->"1",
   
HoodieLockConfig.LOCK_PROVIDER_CLASS_NAME.key()->"org.apache.hudi.aws.transaction.lock.DynamoDBBasedLockProvider",
   DynamoDbBasedLockConfig.DYNAMODB_LOCK_TABLE_NAME.key()->"hoodi_lock",
   DynamoDbBasedLockConfig.DYNAMODB_LOCK_PARTITION_KEY.key()->"lock",
   DynamoDbBasedLockConfig.DYNAMODB_LOCK_REGION.key()->"us-east-1",
   HoodieAWSConfig.AWS_ACCESS_KEY.key()->"XXX",
   HoodieAWSConfig.AWS_SECRET_KEY.key()->"XXX",
   HoodieAWSConfig.AWS_SESSION_TOKEN.key()->"XXXX",
   DynamoDbBasedLockConfig.DYNAMODB_ENDPOINT_URL.key()-> 
RegionUtils.getRegion("us-east-1").getServiceEndpoint(AmazonDynamoDB.ENDPOINT_PREFIX)
 //"dynamodb.us-east-1.amazonaws.com"
   
   I have created dynamodb table which will be used for locking, and partition 
key as lock
   Below are my questions,
   
   Is it mandatory to set AWS_ACCESS_KEY,AWS_SECRET_KEY ? - I dont want to set 
these keys
   Should we need to create Dynamodb table or Hudi will create it 
automatically? we create AWS resources with Cloudformation
   I am getting below exception while connecting to dynamodb table
   
   com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: The 
provided key element does not match the schema
   Dynamodb table is created with partition key lock(String)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to