zhedoubushishi commented on pull request #4967:
URL: https://github.com/apache/hudi/pull/4967#issuecomment-1062095346


   I feel like the root cause is 
[here](https://github.com/apache/hudi/blob/master/hudi-aws%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhudi%2Faws%2Ftransaction%2Flock%2FDynamoDBBasedLockProvider.java#L159-L161),
 how about change it to:
   ```
   String endpointURL = 
this.lockConfiguration.getConfig().getString(DynamoDbBasedLockConfig.DYNAMODB_ENDPOINT_URL.key(),
 
   
RegionUtils.getRegion(region).getServiceEndpoint(AmazonDynamoDB.ENDPOINT_PREFIX));
   ```


-- 
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