diff --git a/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml b/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml index 22fe21d30c1..1bfb545b0b1 100644 --- a/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml +++ b/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml @@ -2181,4 +2181,33 @@ The class names of the Span Receivers to use for Hadoop. + + + hadoop.caller.context.enabled + false + When the feature is enabled, additional fields are written into + name-node audit log records for auditing coarse granularity operations. + + + + hadoop.caller.context.max.size + 128 + The maximum bytes a caller context string can have. If the + passed caller context is longer than this maximum bytes, client will + truncate it before sending to server. Note that the server may have a + different maximum size, and will truncate the caller context to the + maximum size it allows. + + + + hadoop.caller.context.signature.max.size + 40 + + The caller's signature (optional) is for offline validation. If the + signature exceeds the maximum allowed bytes in server, the caller context + will be abandoned, in which case the caller context will not be recorded + in audit logs. + + +