xichen01 commented on code in PR #5660:
URL: https://github.com/apache/ozone/pull/5660#discussion_r1464312521


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/HddsDispatcher.java:
##########
@@ -682,6 +697,24 @@ private void audit(AuditAction action, EventType eventType,
     }
   }
 
+  private void performanceAudit(AuditAction action, Map<String, String> params,
+      PerformanceStringBuilder performance) {
+    AuditMessage msg =
+        buildAuditMessageForPerformance(action, params, performance.build());
+    AUDIT.logPerformance(msg);
+  }
+
+  public AuditMessage buildAuditMessageForPerformance(AuditAction op,
+      Map<String, String> auditMap, String performance) {

Review Comment:
   Fixed.



##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/HddsDispatcher.java:
##########
@@ -682,6 +697,24 @@ private void audit(AuditAction action, EventType eventType,
     }
   }
 
+  private void performanceAudit(AuditAction action, Map<String, String> params,
+      PerformanceStringBuilder performance) {
+    AuditMessage msg =
+        buildAuditMessageForPerformance(action, params, performance.build());

Review Comment:
   Fixed.



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


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

Reply via email to