Hadoop 18154 branch 2.10.1 #4049
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of PR
The PR addresses a requirement to comply with AWS security concept IAM roles for service accounts (IRSA) while operating Delta sharing in Amazon Elastic Kubernetes Service (EKS).
The code change consists in adding a new credentials provider class
org.apache.hadoop.fs.s3a.OIDCTokenCredentialsProviderto the module hadoop-aws in Hadoop release 2.10.1. In addition, the dependency aws-java-sdk-bundle-1.11.271 was upgraded to its latest version 1.12.167 as AWS WebIdentityTokenCredentialsProvider class was not yet available in original version.How was this patch tested?
No new unit-test or integration-test was created on-purpose. The patch was "only" tested as part of our specific use-case, using Delta sharing server 0.4.0 with the following Hadoop configuration (core-site.xml):
For code changes: