瀏覽代碼

HDDS-392. Incomplete description about auditMap#key in AuditLogging Framework.
Contributed by Dinesh Chitlangia.

Anu Engineer 6 年之前
父節點
當前提交
19abaacdad
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/audit/package-info.java

+ 4 - 2
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/audit/package-info.java

@@ -50,8 +50,10 @@ package org.apache.hadoop.ozone.audit;
  * The implementing class must override toAuditMap() to return an
  * instance of Map<Key, Value> where both Key and Value are String.
  *
- * Key: must not contain any spaces. If the key is multi word then use
- * camel case.
+ * Key: must contain printable US ASCII characters
+ * May not contain a space, =, ], or "
+ * If the key is multi word then use camel case.
+ *
  * Value: if it is a collection/array, then it must be converted to a comma
  * delimited string
  *