hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject hive git commit: HIVE-14073 : update config whiltelist for sql std authorization (Thejas Nair, reviewed by Sushanth Sowmyan)
Date Tue, 28 Jun 2016 02:08:07 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1 5c87759ef -> 19c8d1e57


HIVE-14073 : update config whiltelist for sql std authorization (Thejas Nair, reviewed by
Sushanth Sowmyan)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/19c8d1e5
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/19c8d1e5
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/19c8d1e5

Branch: refs/heads/branch-1
Commit: 19c8d1e577df92b9a9de6c09c0d6dffeefe65963
Parents: 5c87759
Author: Thejas Nair <thejas@hortonworks.com>
Authored: Mon Jun 27 19:08:02 2016 -0700
Committer: Thejas Nair <thejas@hortonworks.com>
Committed: Mon Jun 27 19:08:02 2016 -0700

----------------------------------------------------------------------
 common/src/java/org/apache/hadoop/hive/conf/HiveConf.java        | 4 +++-
 .../plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java         | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/19c8d1e5/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
----------------------------------------------------------------------
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 ef5860a..13335b8 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -3011,6 +3011,7 @@ public class HiveConf extends Configuration {
     ConfVars.HIVE_DISPLAY_PARTITION_COLUMNS_SEPARATELY.varname,
     ConfVars.HIVE_ERROR_ON_EMPTY_PARTITION.varname,
     ConfVars.HIVE_EXECUTION_ENGINE.varname,
+    ConfVars.HIVE_EXEC_COPYFILE_MAXSIZE.varname,
     ConfVars.HIVE_EXIM_URI_SCHEME_WL.varname,
     ConfVars.HIVE_FILE_MAX_FOOTER.varname,
     ConfVars.HIVE_HADOOP_SUPPORTS_SUBDIRECTORIES.varname,
@@ -3085,10 +3086,11 @@ public class HiveConf extends Configuration {
     "mapreduce\\.reduce\\..*",
     "mapreduce\\.output\\.fileoutputformat\\.compress\\.codec",
     "mapreduce\\.output\\.fileoutputformat\\.compress\\.type",
+    "oozie\\..*",
     "tez\\.am\\..*",
     "tez\\.task\\..*",
     "tez\\.runtime\\..*",
-    "tez.queue.name",
+    "tez\\.queue\\.name",
 
   };
 

http://git-wip-us.apache.org/repos/asf/hive/blob/19c8d1e5/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
----------------------------------------------------------------------
diff --git a/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
b/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
index 8f8b88a..37e12e8 100644
--- a/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
+++ b/ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/TestSQLStdHiveAccessControllerHS2.java
@@ -88,7 +88,8 @@ public class TestSQLStdHiveAccessControllerHS2 {
     // create list with variables that match some of the regexes
     List<String> confVarRegexList = Arrays.asList("hive.convert.join.bucket.mapjoin.tez",
         "hive.optimize.index.filter.compact.maxsize", "hive.tez.dummy", "tez.task.dummy",
-        "hive.exec.dynamic.partition", "hive.exec.dynamic.partition.mode");
+        "hive.exec.dynamic.partition", "hive.exec.dynamic.partition.mode",
+        "oozie.HadoopAccessorService.created", "tez.queue.name");
 
     // combine two lists
     List<String> varList = new ArrayList<String>();


Mime
View raw message