xiaozcy commented on code in PR #4232:
URL: https://github.com/apache/gravitino/pull/4232#discussion_r1714734093
##########
catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/authentication/AuthenticationConfig.java:
##########
@@ -36,7 +36,8 @@ public class AuthenticationConfig extends Config {
enum AuthenticationType {
SIMPLE,
- KERBEROS;
+ KERBEROS,
+ AWS;
Review Comment:
> I read the document about Hadoop. I think the type of the authentication
is `delegation-token`. The delegationToken has different credential provider.
https://hadoop.apache.org/docs/current/hadoop-aws/tools/hadoop-aws/delegation_tokens.html
I don't think we are using delegation tokens here, we are just using AWS
credentials to authenticate to an S3 bucket.
As mentioned in the document above, if we want to use delegation tokens, we
have to set `hadoop.security.authentication` to kerberos and set
`fs.s3a.delegation.token.binding` to the classname of the token binding to use
first.
--
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]