Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
So, we are using deprecated AmazonDynamoDBClient class to create a DynamoDB client instead of the recommended builder. We had discussion in HADOOP-14090 for preferring region to endpoints for user to specify the DynamoDB region (if associated S3 region is unknown or different). We have reported inconsistent behavior if endpoint and S3 region are different in HADOOP-14027. We also noticed that DynamoDBMetadataStore may sometimes logs nonsense region. And in HADOOP-13252, we also have feelings that file system URI is not needed to create a AWSCredentialProvider. Resultantly we don't need to pass down file system URI for creating a DynamoDB client.
So this JIRA is to change this, best effort.