You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ku...@apache.org on 2019/07/29 09:37:13 UTC

[hive] branch master updated: HIVE-21999: Add sensitive ABFS configuration properties to HiveConf hidden list (Aron Hamvas via Marta Kuczora)

This is an automated email from the ASF dual-hosted git repository.

kuczoram pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 97a80c1  HIVE-21999: Add sensitive ABFS configuration properties to HiveConf hidden list (Aron Hamvas via Marta Kuczora)
97a80c1 is described below

commit 97a80c11c2f672dc63e66ec8cdb298272e61ab18
Author: Aron Hamvas <ha...@cloudera.com>
AuthorDate: Mon Jul 29 11:36:44 2019 +0200

    HIVE-21999: Add sensitive ABFS configuration properties to HiveConf hidden list (Aron Hamvas via Marta Kuczora)
---
 common/src/java/org/apache/hadoop/hive/conf/HiveConf.java     | 3 ++-
 common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
index 776a449..d1015c5 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -4715,7 +4715,8 @@ public class HiveConf extends Configuration {
         + ",fs.s3a.secret.key"
         + ",fs.s3a.proxy.password"
         + ",dfs.adls.oauth2.credential"
-        + ",fs.adl.oauth2.credential",
+        + ",fs.adl.oauth2.credential"
+        + ",fs.azure.account.oauth2.client.secret",
         "Comma separated list of configuration options which should not be read by normal user like passwords"),
     HIVE_CONF_INTERNAL_VARIABLE_LIST("hive.conf.internal.variable.list",
         "hive.added.files.path,hive.added.jars.path,hive.added.archives.path",
diff --git a/common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java b/common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java
index bf9dee7..b82b413 100644
--- a/common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java
+++ b/common/src/test/org/apache/hadoop/hive/conf/TestHiveConf.java
@@ -151,7 +151,8 @@ public class TestHiveConf {
         "fs.s3.awsSecretAccessKey",
         "fs.s3n.awsSecretAccessKey",
         "dfs.adls.oauth2.credential",
-        "fs.adl.oauth2.credential"
+        "fs.adl.oauth2.credential",
+        "fs.azure.account.oauth2.client.secret"
     );
 
     for (String hiddenConfig : hiddenList) {