You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Dapeng Sun (JIRA)" <ji...@apache.org> on 2015/11/17 08:56:10 UTC

[jira] [Created] (SENTRY-963) Optimize loadAuthzConf at HiveAuthzBindingHook

Dapeng Sun created SENTRY-963:
---------------------------------

             Summary: Optimize loadAuthzConf at HiveAuthzBindingHook
                 Key: SENTRY-963
                 URL: https://issues.apache.org/jira/browse/SENTRY-963
             Project: Sentry
          Issue Type: Bug
            Reporter: Dapeng Sun


According the reviews of SENTRY-498,
1. Load the configuration should be only once, and we don't need to read file everytime, just like what hadoop do.
2. hiveAuthzConf == null || (hiveAuthzConf = hiveAuthzConf.trim()).isEmpty() should use StringUtils.isEmpty(hiveAuthzConf ) instead of



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)