Index: ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/SettableConfigUpdater.java =================================================================== --- ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/SettableConfigUpdater.java (revision 1635996) +++ ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/SettableConfigUpdater.java (working copy) @@ -44,7 +44,7 @@ String whiteListParamsStr = hiveConf .getVar(ConfVars.HIVE_AUTHORIZATION_SQL_STD_AUTH_CONFIG_WHITELIST); - if(whiteListParamsStr == null && whiteListParamsStr.trim().isEmpty()) { + if(whiteListParamsStr == null || whiteListParamsStr.trim().isEmpty()) { throw new HiveAuthzPluginException("Configuration parameter " + ConfVars.HIVE_AUTHORIZATION_SQL_STD_AUTH_CONFIG_WHITELIST.varname + " is not iniatialized.");