Repository: incubator-hawq
Updated Branches:
  refs/heads/master 0e85cde89 -> c0cd47c3d


HAWQ-1511. Add TDE-related properties into hdfs-client.xml


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/c0cd47c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/c0cd47c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/c0cd47c3

Branch: refs/heads/master
Commit: c0cd47c3d00b76209aa1587771e2f493ed99fa65
Parents: 0e85cde
Author: amyrazz44 <a...@pivotal.io>
Authored: Wed Aug 9 14:10:20 2017 +0800
Committer: amyrazz44 <a...@pivotal.io>
Committed: Wed Aug 9 14:10:20 2017 +0800

----------------------------------------------------------------------
 depends/libhdfs3/src/common/SessionConfig.cpp | 2 +-
 src/backend/utils/misc/etc/hdfs-client.xml    | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c0cd47c3/depends/libhdfs3/src/common/SessionConfig.cpp
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/src/common/SessionConfig.cpp 
b/depends/libhdfs3/src/common/SessionConfig.cpp
index 9495642..3d9d9ad 100644
--- a/depends/libhdfs3/src/common/SessionConfig.cpp
+++ b/depends/libhdfs3/src/common/SessionConfig.cpp
@@ -129,7 +129,7 @@ SessionConfig::SessionConfig(const Config & conf) {
         }, {
             &cryptoBufferSize, "hadoop.security.crypto.buffer.size", 8192
         }, {
-            &httpRequestRetryTimes, "kms.send.request.retry.times", 4
+            &httpRequestRetryTimes, "kms.send.request.retry.times", 0
         }
     };
     ConfigDefault<int64_t> i64Values [] = {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c0cd47c3/src/backend/utils/misc/etc/hdfs-client.xml
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/etc/hdfs-client.xml 
b/src/backend/utils/misc/etc/hdfs-client.xml
index c37f3ec..0ed8d65 100644
--- a/src/backend/utils/misc/etc/hdfs-client.xml
+++ b/src/backend/utils/misc/etc/hdfs-client.xml
@@ -328,4 +328,13 @@ HA -->
                </description>
        </property>
 
+       <property>
+               <name>dfs.encryption.key.provider.uri</name>
+               <value>kms://http@localhost:16000/kms</value>
+               <description>
+               The KeyProvider to use when interacting with encryption keys 
used
+               when reading and writing to an encryption zone.
+               </description>
+       </property>
+
 </configuration>

Reply via email to