kasakrisz opened a new pull request #12: AMBARI-24838 - Infra Manager: zookeper 
connection string
URL: https://github.com/apache/ambari-infra/pull/12
 
 
   ## What changes were proposed in this pull request?
   
   Infra Manager can not connect to zookeeper if it is installed into a node 
where there is no zookeeper server instance.
   * This is caused by that the infra manager stack code does not set the 
zookeeper quorum and the CloudSolrClient falls back to localhost:2181
   * Also the builder which is used for construct an 
org.apache.solr.client.solrj.impl.CloudSolrClient instance is deprecated: it 
does not handle the zookeper connection string fromat which sould be set in the 
stack code.
   ```
   zkhost0:port[,zkhost1:port...zkhostn:port][/solr_znode]
   ```
   
   ## How was this patch tested?
   
   ITs passed
   
   Manually:
   1. Deploy Ambari and a cluster: zookeeper, infra solr, logsearch
   2. Deploy Infra manager to a node where no zookeeper server is installed
   3. Run archive_service_logs job
   4. Check that archive files exists in the specified destination directory
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to