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)