awslabs / emr-dynamodb-connector

Implementations of open source Apache Hadoop/Hive interfaces which allow for ingesting data from Amazon DynamoDB
Apache License 2.0
216 stars 135 forks source link

Shade and relocate AWS SDK V2 dependency #188

Closed kevnzhao closed 11 months ago

kevnzhao commented 11 months ago

Issue #, if available:

Description of changes:

In #175, we upgrade AWS SDK V1 to AWS SDK V2. In addition, we bundle the AWS SDK V2 dependency into the JAR. This will cause dependency conflict when customer app is depending on another version of AWS SDK V2 and running in the same JVM. In this PR, we shade and relocate AWS SDK V2 to a different namespace so there won't be any conflict with customer app's own dependency to other versions of AWS SDK V2.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.