summaryrefslogtreecommitdiff
path: root/hadoop-common-project
diff options
context:
space:
mode:
authorWei-Chiu Chuang <weichiu@apache.org>2018-03-27 13:33:41 -0700
committerWei-Chiu Chuang <weichiu@apache.org>2018-03-27 13:37:14 -0700
commitc6939e933055cbe08c4d4f0a5d4bac152c953e35 (patch)
treec90a67d2a7b4bb064dfcf57ff19edcaac57c0b0e /hadoop-common-project
parent7cc06217de307dc4f4522cc2edff9fa85143a2b9 (diff)
HADOOP-15312. Undocumented KeyProvider configuration keys. Contributed by LiXin Ge.
(cherry picked from commit 3fe41c65d84843f817a4f9ef8999dbf862db6674) (cherry picked from commit 1176a128d632925749db0a81a719fd8141c3cbb6)
Diffstat (limited to 'hadoop-common-project')
-rw-r--r--hadoop-common-project/hadoop-common/src/main/resources/core-default.xml19
1 files changed, 19 insertions, 0 deletions
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 600f4a60ee..434590980f 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
@@ -2284,6 +2284,25 @@
</property>
<property>
+ <name>hadoop.security.key.default.bitlength</name>
+ <value>128</value>
+ <description>
+ The length (bits) of keys we want the KeyProvider to produce. Key length
+ defines the upper-bound on an algorithm's security, ideally, it would
+ coincide with the lower-bound on an algorithm's security.
+ </description>
+</property>
+
+<property>
+ <name>hadoop.security.key.default.cipher</name>
+ <value>AES/CTR/NoPadding</value>
+ <description>
+ This indicates the algorithm that be used by KeyProvider for generating
+ key, and will be converted to CipherSuite when creating encryption zone.
+ </description>
+</property>
+
+<property>
<name>fs.har.impl.disable.cache</name>
<value>true</value>
<description>Don't cache 'har' filesystem instances.</description>