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

Review request for ranger, Anand Nadar, Asit Vadhavkar, Abhay Kulkarni, 
Prashant Satam, Ramesh Mani, and Subhrat Chaudhary.


Bugs: RANGER-4440
    https://issues.apache.org/jira/browse/RANGER-4440


Repository: ranger


Description
-------

- for environments having large number of resources in security zones, JSON 
text saved in x_security_zone.jsonData can be compressed. Given the sane JSON 
text is stored in x_trx_log.prev_val and x_trx_log.new_val, it will be 
necessary to store a shorter text - like count of resource in each service


Diffs
-----

  
security-admin/src/main/java/org/apache/ranger/service/RangerSecurityZoneServiceService.java
 439d9a6de 


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


Testing
-------

- verified that trx_log is created with resource-count for each service, 
instead of resource details, as shown below:
-- 
{"dev_hive":{"resources":[{"resourceCount":["1"]}]},"dev_hdfs":{"resources":[{"resourceCount":["1"]}]},"dev_hbase":{"resources":[{"resourceCount":["3"]}]}}
-- 
{"dev_hive":{"resources":[{"resourceCount":["1"]}]},"dev_hdfs":{"resources":[{"resourceCount":["1"]}]},"dev_hbase":{"resources":[{"resourceCount":["2"]}]}}


Thanks,

Madhan Neethiraj

Reply via email to