hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lium...@apache.org
Subject [1/5] hadoop git commit: HDFS-10724. Document caller context config keys. (Contributed by Mingliang Liu)
Date Tue, 16 Aug 2016 03:58:31 GMT
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 Liu <liuml07@apache.org>
Authored: Mon Aug 15 20:20:33 2016 -0700
Committer: Mingliang Liu <liuml07@apache.org>
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 @@
     <description>The class names of the Span Receivers to use for Hadoop.
     </description>
   </property>
+
+  <property>
+    <name>hadoop.caller.context.enabled</name>
+    <value>false</value>
+    <description>When the feature is enabled, additional fields are written into
+      name-node audit log records for auditing coarse granularity operations.
+    </description>
+  </property>
+  <property>
+    <name>hadoop.caller.context.max.size</name>
+    <value>128</value>
+    <description>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.
+    </description>
+  </property>
+  <property>
+    <name>hadoop.caller.context.signature.max.size</name>
+    <value>40</value>
+    <description>
+      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.
+    </description>
+  </property>
+
 </configuration>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message