[ 
https://issues.apache.org/jira/browse/HADOOP-17871?focusedWorklogId=649852&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-649852
 ]

ASF GitHub Bot logged work on HADOOP-17871:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Sep/21 07:02
            Start Date: 13/Sep/21 07:02
    Worklog Time Spent: 10m 
      Work Description: mukund-thakur commented on a change in pull request 
#3412:
URL: https://github.com/apache/hadoop/pull/3412#discussion_r707041791



##########
File path: 
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java
##########
@@ -436,7 +444,7 @@ public void initialize(URI name, Configuration originalConf)
       initializeStatisticsBinding();
       // If CSE-KMS method is set then CSE is enabled.
       isCSEEnabled = S3AUtils.lookupPassword(conf,

Review comment:
       name of isCSEEnabled should be changed too. something like 
isEncryptionEnabled

##########
File path: 
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Constants.java
##########
@@ -449,9 +450,32 @@ private Constants() {
    * May be set within a JCEKS file.
    * Value: "{@value}".
    */
+  @Deprecated
   public static final String SERVER_SIDE_ENCRYPTION_KEY =
       "fs.s3a.server-side-encryption.key";
 
+  /**
+   * Set S3-server side encryption(SSE) or S3-Client side encryption(CSE)
+   * algorithm. Check {@link S3AEncryptionMethods} for valid options.
+   * <br>
+   * value: {@value}
+   */
+  public static final String S3_ENCRYPTION_ALGORITHM =
+      "fs.s3a.encryption-algorithm";

Review comment:
       I concur with the name change. fs.s3a.encryption.algorithm . I don't 
think we need to add deprecation entry for fs.s3a.encryption-algorithm as this 
is not yet committed code ever.

##########
File path: 
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AClientSideEncryption.java
##########
@@ -257,6 +257,11 @@ public void testEncryptionEnabledAndDisabledFS() throws 
Exception {
     }
   }
 
+  @Test
+  public void testsomething() {
+    S3AFileSystem fs = getFileSystem();
+  }

Review comment:
       remove?




-- 
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 649852)
    Time Spent: 0.5h  (was: 20m)

> S3A CSE: minor tuning
> ---------------------
>
>                 Key: HADOOP-17871
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17871
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Assignee: Mehakmeet Singh
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Some minor tuning to the CSE encryption support before backporting to 3.3.x 
> and so shipping this year
> * LogExactlyOnce an "please ignore the warning" message to a new log 
> ("org.apache.hadoop.fs.s3a.encryption") which can be set to ERROR if you get 
> bored of the message.
> * Extend testing_s3a.md and the SDK upgrade runbook: test CSE always
> * change property name of encryption key (maybe: fs.s3a.encryption) and add 
> mapping in S3AFileSystem.addDeprecatedKeys ... docs will need updating too.



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

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

Reply via email to