-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34196/
-----------------------------------------------------------
Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, and Ramesh Mani.
Bugs: RANGER-477
https://issues.apache.org/jira/browse/RANGER-477
Repository: ranger
Description
-------
- Fixed a bug in how Hive client connection is stored in the cache
- Changed the cache to use ConcurrentMap to eliminate Coverity reported issues.
- Changed a isEmpty to isBlank as before last fix made to coverity code was
during trim on a potentially null string.
Diffs
-----
hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
98532a9
hive-agent/src/main/java/org/apache/ranger/services/hive/client/HiveConnectionMgr.java
a5eda0b
Diff: https://reviews.apache.org/r/34196/diff/
Testing
-------
Existing tests work.
Thanks,
Alok Lal