This is an automated email from the ASF dual-hosted git repository.

licheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b96d83  HDDS-4228: add field 'num' to ALLOCATE_BLOCK of scm audit 
log. (#1413)
4b96d83 is described below

commit 4b96d83a50a92a2388edd8f9023af3a8613761a4
Author: GlenGeng <[email protected]>
AuthorDate: Fri Sep 11 10:21:45 2020 +0800

    HDDS-4228: add field 'num' to ALLOCATE_BLOCK of scm audit log. (#1413)
---
 .../java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java
 
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java
index 99f873f..66fe4cb 100644
--- 
a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java
+++ 
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMBlockProtocolServer.java
@@ -174,6 +174,7 @@ public class SCMBlockProtocolServer implements
       String owner, ExcludeList excludeList) throws IOException {
     Map<String, String> auditMap = Maps.newHashMap();
     auditMap.put("size", String.valueOf(size));
+    auditMap.put("num", String.valueOf(num));
     auditMap.put("type", type.name());
     auditMap.put("factor", factor.name());
     auditMap.put("owner", owner);


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

Reply via email to