-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74170/
-----------------------------------------------------------
Review request for ranger.
Bugs: RANGER-3947
https://issues.apache.org/jira/browse/RANGER-3947
Repository: ranger
Description
-------
Closing the solr cloud client in SolrCollectionBootstrapper's retry loop of
creating solr config and collection. Without this new solr cloud client is
created in every loop and new connection pools which will not be cleaned up and
create large number of threads
Diffs
-----
embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/SolrCollectionBootstrapper.java
fe4006f76
Diff: https://reviews.apache.org/r/74170/diff/1/
Testing
-------
Ran ranger-admin without ranger_audit config in zk and no
contrib/solr_for_audit_setup/conf file which leads to retry loop and verified
that threads aren't increasinng
Thanks,
Sai Sandeep Rangisetti