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

(Updated April 22, 2021, 3:33 p.m.)


Review request for ranger, bhavik patel, Dineshkumar Yadav, Jayendra Parab, 
Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Ramesh 
Mani, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

In Ranger while creating collection ranger_audits in solr the default no. of 
shards we configured is 1. It is configurable under ranger-admin-site.xml 
having porperty name "ranger.audit.solr.no.shards" .

The number of shards initially should be depending on the number of solr live 
nodes. This can be achieve using SolrCloudClient object in 
SolrCollectionBootstrapper.java during the collection creation.
 
Shards value will be visible as INFO in file catalina.out under ranger admin 
log dir for verification.


Diffs
-----

  
embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/SolrCollectionBootstrapper.java
 2e2ae6cab 


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


Testing
-------

Successfully verified the no. of shards while creating collection in Solr. 
Collection is created with no. of shards equal to solr live nodes.


Thanks,

Dhaval Shah

Reply via email to