File tree Expand file tree Collapse file tree
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -370,6 +370,17 @@ public Map<String, String> toAuditMap() {
370370 auditMap .put (OzoneConsts .USED_BYTES , String .valueOf (this .usedBytes ));
371371 auditMap .put (OzoneConsts .USED_NAMESPACE ,
372372 String .valueOf (this .usedNamespace ));
373+ auditMap .put (OzoneConsts .OWNER , this .owner );
374+ auditMap .put (OzoneConsts .REPLICATION_TYPE ,
375+ (this .defaultReplicationConfig != null ) ?
376+ String .valueOf (this .defaultReplicationConfig .getType ()) : null );
377+ auditMap .put (OzoneConsts .REPLICATION_CONFIG ,
378+ (this .defaultReplicationConfig != null ) ?
379+ this .defaultReplicationConfig .getReplicationConfig ()
380+ .getReplication () : null );
381+ auditMap .put (OzoneConsts .QUOTA_IN_BYTES , String .valueOf (this .quotaInBytes ));
382+ auditMap .put (OzoneConsts .QUOTA_IN_NAMESPACE ,
383+ String .valueOf (this .quotaInNamespace ));
373384 return auditMap ;
374385 }
375386
You can’t perform that action at this time.
0 commit comments