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 Liu <lium...@apache.org>
Authored: Mon Aug 15 20:20:33 2016 -0700
Committer: Mingliang Liu <lium...@apache.org>
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.
     </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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to