Re: Could not load collection from ZK (worked in solr4, failing in solr8) - Help Needed

2021-07-08 Thread Reej Nayagam
On Thu, 8 Jul 2021 at 8:10 PM, sachin gk wrote: > Have you upgraded the zookeeper too ? Sole 8.8.2 is compatible with > zookeeper 3.5.5 > zk version is 3.6.3 > > On Thu, Jul 8, 2021, 17:35 Yuval Paz wrote: > > > What error do you see? > > > > Also, what are you trying to do? If you are trying t

Re: Could not load collection from ZK (worked in solr4, failing in solr8) - Help Needed

2021-07-08 Thread sachin gk
Have you upgraded the zookeeper too ? Sole 8.8.2 is compatible with zookeeper 3.5.5 On Thu, Jul 8, 2021, 17:35 Yuval Paz wrote: > What error do you see? > > Also, what are you trying to do? If you are trying to get the cluster's > state from an outside service, and not in a Solr plugin, maybe yo

Re: Could not load collection from ZK (worked in solr4, failing in solr8) - Help Needed

2021-07-08 Thread Yuval Paz
What error do you see? Also, what are you trying to do? If you are trying to get the cluster's state from an outside service, and not in a Solr plugin, maybe you should use CloudSolrClient instead: ``` var client = new CloudSolrClient .builder(Arrays.asList("zkHost1:port1,zkHost2:port2,..

Re: Could not load collection from ZK (worked in solr4, failing in solr8) - Help Needed

2021-07-08 Thread Reej M
> On 8 Jul 2021, at 7:00 PM, Reej M wrote: > > Hi All, > > We are upgrading from solr 4 to solr 8. Updated the solr server to solr8.8.2, > solrj8.8.2. > We are trying to resume the code and in one place where we are trying to get > a collection from clusterstate. Code used is as below > > C

Could not load collection from ZK (worked in solr4, failing in solr8) - Help Needed

2021-07-08 Thread Reej M
Hi All, We are upgrading from solr 4 to solr 8. Updated the solr server to solr8.8.2, solrj8.8.2. We are trying to resume the code and in one place where we are trying to get a collection from clusterstate. Code used is as below Clusterstate clusterState = null; For(SearchSolrZookeeper zk:livez