You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Na Li <li...@cloudera.com> on 2017/09/22 18:43:18 UTC

Review Request 62514: SENTRY-1961: Optimize memory usage for SimplePrivilegeCache

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62514/
-----------------------------------------------------------

Review request for sentry, Alexander Kolbasov, Kalyani Kashikar, and Sergio Pena.


Repository: sentry


Description
-------

reduce memory usage by represent the matching key as list of KeyValue and intern hte value


Diffs
-----

  sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/utils/KeyValue.java 4e944e5 
  sentry-policy/sentry-policy-common/src/main/java/org/apache/sentry/policy/common/CommonPrivilege.java ab55609 
  sentry-provider/sentry-provider-cache/src/main/java/org/apache/sentry/provider/cache/SimplePrivilegeCache.java 0ad4616 
  sentry-provider/sentry-provider-cache/src/test/java/org/apache/sentry/provider/cache/TestSimplePrivilegeCache.java 891c1d9 


Diff: https://reviews.apache.org/r/62514/diff/1/


Testing
-------

unit tests


Thanks,

Na Li