This is an automated email from the ASF dual-hosted git repository.
hashutosh 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 4e70a13 HIVE-23447 : Avoid sending configs to tasks and AM which are
only relevant for HS2
4e70a13 is described below
commit 4e70a1397504929df8fee227b57e4171e5688edc
Author: Ashutosh Chauhan <[email protected]>
AuthorDate: Mon May 11 22:05:13 2020 -0700
HIVE-23447 : Avoid sending configs to tasks and AM which are only relevant
for HS2
---
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
index 97220c0..d21aa45 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java
@@ -1396,6 +1396,9 @@ public class DagUtils {
// TODO: convert this to a predicate too
hiveConf.stripHiddenConfigurations(conf);
+
+ // Remove hive configs which are used only in HS2 and not needed for
execution
+
conf.unset(ConfVars.HIVE_AUTHORIZATION_SQL_STD_AUTH_CONFIG_WHITELIST.varname);
return conf;
}