Re: Add replica fails with following exception

2020-05-13 Thread ART GALLERY
check out the videos on this website TROO.TUBE don't be such a sheep/zombie/loser/NPC. Much love! https://troo.tube/videos/watch/aaa64864-52ee-4201-922f-41300032f219 On Fri, May 8, 2020 at 7:37 AM Vishal Vaibhav wrote: > > Do addreplicas work only when leader is elected ? > > On Fri, 8 May 2020 a

Re: Add replica fails with following exception

2020-05-08 Thread Vishal Vaibhav
Do addreplicas work only when leader is elected ? On Fri, 8 May 2020 at 5:43 PM, Erick Erickson wrote: > My guess is that "$solrHost” is being resolved differently when > executed from the shell .vs. your script. > > Best, > Erick > > > On May 8, 2020, at 4:41 AM, Vishal Vaibhav wrote: > > > >

Re: Add replica fails with following exception

2020-05-08 Thread Vishal Vaibhav
Do addreplicas work only when leader is elected ? Is that a thing ? On Fri, 8 May 2020 at 2:11 PM, Vishal Vaibhav wrote: > I have a script that creates a collection whenever vm is up and then add > the replicas. However ADDREPLICAS fails everytime with following > exception. However when i man

Re: Add replica fails with following exception

2020-05-08 Thread Erick Erickson
My guess is that "$solrHost” is being resolved differently when executed from the shell .vs. your script. Best, Erick > On May 8, 2020, at 4:41 AM, Vishal Vaibhav wrote: > > I have a script that creates a collection whenever vm is up and then add > the replicas. However ADDREPLICAS fails every

Add replica fails with following exception

2020-05-08 Thread Vishal Vaibhav
I have a script that creates a collection whenever vm is up and then add the replicas. However ADDREPLICAS fails everytime with following exception. However when i manually hit the following curl it works all fine. The same line is in the script. " http://localhost:8983/solr/admin/collections?act