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

(Updated June 6, 2023, 1:26 p.m.)


Review request for ranger, Kishor Gollapalliwar, Abhay Kulkarni, Madhan 
Neethiraj, Mahesh Bandal, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, and 
Velmurugan Periasamy.


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


Repository: ranger


Description
-------

This enhancement will provide High Availability support for TagSync application 
Steps to make TagSync Application HA
Decide the number of nodes on which you want to have TagSync up and running.
Deploy the TagSync on all the nodes decided on Step 1.
go to TagSync conf/ directory (which will be created after running setup.sh in 
step 2) and open ranger-tagsync-site.xml
update below configuration and restart the TagSync.
1. ranger-tagsync.server.ha.enabled= true 
2. ranger-tagsync.server.ha.zookeeper.connect={add zookeeper host:port comma 
separated} 
3. ranger-tagsync.server.ha.ids={add ids for number of hosts you have for 
tagsync ex. if you have 2 nodes add  id1,id2 }      
4. ranger-tagsync.server.ha.address.id1={host:port of tagsync node1}
5. ranger-tagsync.server.ha.address.id2={host:port of tagsync node2} 
6. ranger-tagsync.server.ha.zookeeper.auth={auth:} if you want to provide acl 
auth otherwise keep blank
7. Perform 3, 4 & 5 to all the TagSync nodes.


Diffs
-----

  distro/src/main/assembly/tagsync.xml 44a8233cc 
  tagsync/conf/templates/ranger-tagsync-template.xml 40bd3dbe6 
  tagsync/pom.xml 1005a6d1c 
  
tagsync/src/main/java/org/apache/ranger/tagsync/ha/TagSyncHAInitializerImpl.java
 PRE-CREATION 
  tagsync/src/main/java/org/apache/ranger/tagsync/model/AbstractTagSource.java 
09f3292e7 
  tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSyncConfig.java 
590426cd0 
  
tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSyncMetricsProducer.java
 a3b5d03e1 
  tagsync/src/main/java/org/apache/ranger/tagsync/process/TagSynchronizer.java 
55cc0a8aa 
  
tagsync/src/main/java/org/apache/ranger/tagsync/sink/tagadmin/TagAdminRESTSink.java
 db76a678f 
  
tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasTagSource.java
 34a39f73c 
  
tagsync/src/main/java/org/apache/ranger/tagsync/source/atlasrest/AtlasRESTTagSource.java
 9063b03f5 
  
tagsync/src/main/java/org/apache/ranger/tagsync/source/file/FileTagSource.java 
8af15f95a 
  tagsync/src/main/resources/ranger-tagsync-site.xml e17bdb213 


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


Testing
-------

Testing is done on local cluster.


Thanks,

Dineshkumar Yadav

Reply via email to