You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/04/14 17:19:51 UTC

[GitHub] [hadoop-ozone] xiaoyuyao opened a new pull request #820: HDDS-3388. Add bucket encryption key info to bucket create audit log.

xiaoyuyao opened a new pull request #820: HDDS-3388. Add bucket encryption key info to bucket create audit log.
URL: https://github.com/apache/hadoop-ozone/pull/820
 
 
   ## What changes were proposed in this pull request?
   
   Adding bucket encryption key info to bucket create audit log.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-3388
   
   ## How was this patch tested?
   
   Manual testing with the real cluster upon bucket creation. 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] vivekratnavel commented on a change in pull request #820: HDDS-3388. Add bucket encryption key info to bucket create audit log.

Posted by GitBox <gi...@apache.org>.
vivekratnavel commented on a change in pull request #820: HDDS-3388. Add bucket encryption key info to bucket create audit log.
URL: https://github.com/apache/hadoop-ozone/pull/820#discussion_r408555064
 
 

 ##########
 File path: hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmBucketInfo.java
 ##########
 @@ -215,6 +215,8 @@ public static Builder newBuilder() {
     auditMap.put(OzoneConsts.STORAGE_TYPE,
         (this.storageType != null) ? this.storageType.name() : null);
     auditMap.put(OzoneConsts.CREATION_TIME, String.valueOf(this.creationTime));
+    auditMap.put(OzoneConsts.BUCKET_ENCRYPTION_KEY,
+        (bekInfo != null) ? bekInfo.getKeyName() :  null);
 
 Review comment:
   Nit: extra space
   ```suggestion
           (bekInfo != null) ? bekInfo.getKeyName() : null);
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org