[ 
https://issues.apache.org/jira/browse/HADOOP-17437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250897#comment-17250897
 ] 

Prateek Dubey edited comment on HADOOP-17437 at 12/17/20, 8:35 AM:
-------------------------------------------------------------------

I'm opening this issue to request to update Hadoop Documentation for S3 
Authentication with a new Credential Provider that is used by EKS (Amazon 
Elastic Kubernetes Service) to authenticate to AWS Services. 

Document to update - 
https://hadoop.apache.org/docs/current/hadoop-aws/tools/hadoop-aws/index.html#Authenticating_with_S3

I was trying to setup Hive Metastore service on EKS and while using S3 I got 
access denied issues wherein my K8s pod already assumed the correct Service 
Account which has access to S3. After some troubleshooting, I figured out we 
need to add following property in core-site.xml for Hive to Authenticate to S3 
while running on EKS - 

<property>
    <name>fs.s3a.aws.credentials.provider</name>
    <value>com.amazonaws.auth.WebIdentityTokenCredentialsProvider</value>
  </property>

This property is currently not mentioned in the documentation yet. I tested 
this using - 

Hadoop 3.2.0
aws-java-sdk-bundle-1.11.874.jar
hadoop-aws-3.2.0.jar



was (Author: dprateek):
I'm opening this issues to request to update Hadoop Documentation for S3 
Authentication with a new Credential Provider that is used by EKS (Amazon 
Elastic Kubernetes Service) to authenticate to AWS Services. 

Document to update - 
https://hadoop.apache.org/docs/current/hadoop-aws/tools/hadoop-aws/index.html#Authenticating_with_S3

I tried setting up Hive Metastore service on EKS and while using S3 I got 
access denied issues wherein my K8s pod already assumed the correct Service 
Account which has access to S3. After some troubleshooting, I figured out we 
need to add following property in core-site.xml for Hive to Authenticate to S3 
while running on EKS - 

<property>
    <name>fs.s3a.aws.credentials.provider</name>
    <value>com.amazonaws.auth.WebIdentityTokenCredentialsProvider</value>
  </property>

This property is currently not mentioned in the documentation yet. I tested 
this using - 

Hadoop 3.2.0
aws-java-sdk-bundle-1.11.874.jar
hadoop-aws-3.2.0.jar


> Update Hadoop Documentation with a new AWS Credential Provider used with EKS
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-17437
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17437
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: auth
>            Reporter: Prateek Dubey
>            Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to