sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sra...@apache.org
Subject git commit: SENTRY-337: When the parameter sentry.metastore.service.users isn't set or set empty, starting metastore will throw java.lang.NullPointerException (Guoquan Shen via Sravya Tirukkovalur)
Date Wed, 16 Jul 2014 22:35:41 GMT
Repository: incubator-sentry
Updated Branches:
  refs/heads/master 6465503be -> 924f0b038


SENTRY-337: When the parameter sentry.metastore.service.users isn't set or set empty, starting
metastore will throw java.lang.NullPointerException (Guoquan Shen via Sravya Tirukkovalur)


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

Branch: refs/heads/master
Commit: 924f0b038f351c26b1df72e21ad7e5dedbdb525e
Parents: 6465503
Author: Sravya Tirukkovalur <sravya@clouera.com>
Authored: Wed Jul 16 15:28:23 2014 -0700
Committer: Sravya Tirukkovalur <sravya@clouera.com>
Committed: Wed Jul 16 15:28:23 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/924f0b03/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java
----------------------------------------------------------------------
diff --git a/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java
b/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java
index b79937a..3a83895 100644
--- a/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java
+++ b/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/hive/conf/HiveAuthzConf.java
@@ -63,7 +63,7 @@ public class HiveAuthzConf extends Configuration {
     AUTHZ_UDF_WHITELIST("sentry.hive.udf.whitelist", HIVE_UDF_WHITE_LIST),
     AUTHZ_ALLOW_HIVE_IMPERSONATION("sentry.hive.allow.hive.impersonation", "false"),
     AUTHZ_ONFAILURE_HOOKS("sentry.hive.failure.hooks", ""),
-    AUTHZ_METASTORE_SERVICE_USERS("sentry.metastore.service.users", ""),
+    AUTHZ_METASTORE_SERVICE_USERS("sentry.metastore.service.users", null),
     AUTHZ_SYNC_ALTER_WITH_POLICY_STORE("sentry.hive.sync.alter", "true"),
     AUTHZ_SYNC_CREATE_WITH_POLICY_STORE("sentry.hive.sync.create", "false"),
     AUTHZ_SYNC_DROP_WITH_POLICY_STORE("sentry.hive.sync.drop", "true"),


Mime
View raw message