[1/5] hadoop git commit: HDFS-10724. Document caller context config keys. (Contributed by Mingliang Liu)
Repository: hadoop Updated Branches: refs/heads/branch-2.8 1a8280edd -> 54c974326 HDFS-10724. Document caller context config keys. (Contributed by Mingliang Liu) (cherry picked from commit 4bcbef39f7ca07601092919a7f2bea531a2dfa07) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6471ec31 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6471ec31 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6471ec31 Branch: refs/heads/branch-2.8 Commit: 6471ec31bc931ba701733f07694d843011490c49 Parents: 1a8280e Author: Mingliang LiuAuthored: Mon Aug 15 20:20:33 2016 -0700 Committer: Mingliang Liu Committed: Mon Aug 15 20:46:03 2016 -0700 -- .../src/main/resources/core-default.xml | 29 1 file changed, 29 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/6471ec31/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml -- 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 22fe21d..1bfb545 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. + + + - To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org
[1/5] hadoop git commit: HDFS-10724. Document caller context config keys. (Contributed by Mingliang Liu)
Repository: hadoop Updated Branches: refs/heads/branch-2 74156ee20 -> 2f4660ce9 HDFS-10724. Document caller context config keys. (Contributed by Mingliang Liu) (cherry picked from commit 4bcbef39f7ca07601092919a7f2bea531a2dfa07) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e36a9136 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e36a9136 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e36a9136 Branch: refs/heads/branch-2 Commit: e36a913663ddb97469e76ddeb072d9530b6a1a29 Parents: 74156ee Author: Mingliang LiuAuthored: Mon Aug 15 20:20:33 2016 -0700 Committer: Mingliang Liu Committed: Mon Aug 15 20:36:11 2016 -0700 -- .../src/main/resources/core-default.xml | 29 1 file changed, 29 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e36a9136/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml -- 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 7851632..77171ad 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 @@ -2311,4 +2311,33 @@ needs to be specified in net.topology.script.file.name. + + +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. + + + - To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org