Repository: hive Updated Branches: refs/heads/branch-3 72df94747 -> 665198c4c
HIVE-19920: Schematool fails in embedded mode when auth is on (Daniel Dai, reviewed by Thejas Nair) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/665198c4 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/665198c4 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/665198c4 Branch: refs/heads/branch-3 Commit: 665198c4cdd22a4b3f6bc1120e18344718aef104 Parents: 72df947 Author: Daniel Dai <dai...@gmail.com> Authored: Tue Jun 19 22:31:20 2018 -0700 Committer: Daniel Dai <dai...@gmail.com> Committed: Tue Jun 19 22:31:20 2018 -0700 ---------------------------------------------------------------------- .../apache/hadoop/hive/metastore/tools/HiveSchemaHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/665198c4/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/tools/HiveSchemaHelper.java ---------------------------------------------------------------------- diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/tools/HiveSchemaHelper.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/tools/HiveSchemaHelper.java index 1dd97f2..f868982 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/tools/HiveSchemaHelper.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/tools/HiveSchemaHelper.java @@ -45,9 +45,9 @@ public class HiveSchemaHelper { public static final String DB_POSTGRACE = "postgres"; public static final String DB_ORACLE = "oracle"; public static final String EMBEDDED_HS2_URL = - "jdbc:hive2://?hive.conf.restricted.list=;hive.security.authorization.sqlstd.confwhitelist=*;" - + "hive.security.authorization.sqlstd.confwhitelist.append=*;hive.security.authorization.enabled=false;" - + "hive.metastore.uris="; + "jdbc:hive2://?hive.conf.restricted.list=;hive.security.authorization.sqlstd.confwhitelist=.*;" + + "hive.security.authorization.sqlstd.confwhitelist.append=.*;hive.security.authorization.enabled=false;" + + "hive.metastore.uris=;hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdConfOnlyAuthorizerFactory"; public static final String HIVE_JDBC_DRIVER = "org.apache.hive.jdbc.HiveDriver"; /***