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

ASF GitHub Bot commented on HADOOP-18997:
-----------------------------------------

steveloughran commented on code in PR #6316:
URL: https://github.com/apache/hadoop/pull/6316#discussion_r1412834639


##########
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java:
##########
@@ -4498,6 +4500,10 @@ public List<RoleModel.Statement> listAWSPolicyRules(
     // way to predict read keys, and not worried about granting
     // too much encryption access.
     statements.add(STATEMENT_ALLOW_KMS_RW);
+    if (s3ExpressStore) {
+      // tODO

Review Comment:
   yeah, what do we add here?



##########
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestSessionDelegationInFilesystem.java:
##########
@@ -174,9 +175,15 @@ protected Configuration createConfiguration() {
     }
     // set the YARN RM up for YARN tests.
     conf.set(YarnConfiguration.RM_PRINCIPAL, YARN_RM);
-    // turn on ACLs so as to verify role DT permissions include
-    // write access.
-    conf.set(CANNED_ACL, LOG_DELIVERY_WRITE);
+
+    if (conf.getBoolean(KEY_ACL_TESTS_ENABLED, false)) {

Review Comment:
   or do this automatically on an s3 express bucket; saves fiddling with so 
many settings when testing different storage types





> S3A: add way to turn off CreateSession API
> ------------------------------------------
>
>                 Key: HADOOP-18997
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18997
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>              Labels: pull-request-available
>
> add a way to disable the need to use the createsession call, so as to allow 
> for
> benchmarking the performance hit
> troubleshooting IAM permissions
> for our role tests we can turn this off



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to