ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dineshkumar Yadav <dineshkumar.ya...@outlook.com>
Subject Re: Review Request 71993: RANGER-2699 : JVM metrics for Ranger usersync and Ranger tagsync
Date Fri, 17 Jan 2020 06:46:02 GMT

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

(Updated Jan. 17, 2020, 6:46 a.m.)


Review request for ranger, Ankita Sinha, Gautam Borad, Mehul Parikh, and Pradeep Agrawal.


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


Repository: ranger


Description
-------

Added metrics information in usersync and tagsync services


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/util/RangerMetricsUtil.java PRE-CREATION

  tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSyncConfig.java 6d27b02cd 
  tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSyncMetricsProducer.java PRE-CREATION

  tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSynchronizer.java 8806c7469 
  tagsync/src/main/resources/ranger-tagsync-site.xml 9a14c1cc7 
  ugsync/src/main/java/org/apache/ranger/unixusersync/config/UserGroupSyncConfig.java 1d4e37fcf

  ugsync/src/main/java/org/apache/ranger/usergroupsync/UserSyncMetricsProducer.java PRE-CREATION

  ugsync/src/test/resources/ranger-ugsync-site.xml 0a1a86da0 
  unixauthservice/src/main/java/org/apache/ranger/authentication/UnixAuthenticationService.java
1ee5e21ba 


Diff: https://reviews.apache.org/r/71993/diff/4/


Testing (updated)
-------

Validated metrics which are getting generated at configured interval when usersync and tagsync
services start. 
I have kept below parameter configurable
1. Metrics Name (Default value metrics.json)
2. Metrics Directory (must have write permission and default value /tmp/)
3. frequency at metrics get updated (default value: 10 sec)
4. metrics enabled or disabled 
Checked for metrics.json being regularly updated based on JVM resources utilization. Validated
for usersync as well as tagsync process.


Thanks,

Dineshkumar Yadav


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message