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.
SolrCloudClient.getClusterStateProvider().getLiveNodes().size()
Shards value will be visible as INFO in file catalina.out under ranger admin log dir for verification.
Attachments
Attachments
Issue Links
- links to