-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71517/
-----------------------------------------------------------
Review request for ranger, Ankita Sinha, Don Bosco Durai, Colm O hEigeartaigh,
Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Nitin Galave,
pengjianhua, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja
Polavarapu, sam rome, Venkat Ranganathan, Velmurugan Periasamy, Qiang Zhang,
and Barna Zsombor Klara.
Bugs: RANGER-2579
https://issues.apache.org/jira/browse/RANGER-2579
Repository: ranger
Description
-------
When creating a Solr service, only one Solr URL is supported. For SolrCloud
mode, when a Solr node fails, the SolrCloud should work normally, and the
current implementation will make the Solr service unavailable.
Therefore, we should use SolrCloud's ZooKeeper address as the optimal
connection method to deal with some Solr node failure scenarios.
Diffs
-----
agents-common/src/main/resources/service-defs/ranger-servicedef-solr.json
2f12721
plugin-solr/src/main/java/org/apache/ranger/services/solr/client/ServiceSolrConnectionMgr.java
f56373b
Diff: https://reviews.apache.org/r/71517/diff/1/
Testing
-------
I have tested connection of legal and illegal zookeeper hosts for solr service,
that's all right.
Thanks,
Kehua Wu