lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anatharaman, Srinatha (Contractor)" <>
Subject RE: Collection will not replicate
Date Wed, 01 Feb 2017 15:45:40 GMT

Thank you for your quick response, I appreciate your help
I am new to Solr and not from Java background

I have developed the code in Dev on single core and it works perfectly good
On QA box I have installed Solr 6.3 on 2 nodes(SolrCloud)

Made few changes to the code to fit SolrCloud
I have very less time to complete this job in QA
Ultimately I need to load these files on realtime, I am thinking of using flume/Kafka for
Just to show the progress I need to complete loading these emails text files using dataimporthandler
Herewith I am attaching my code, Please suggest me what could be the issue


-----Original Message-----
From: Erick Erickson [] 
Sent: Wednesday, February 01, 2017 10:39 AM
To: solr-user <>
Subject: Re: Collection will not replicate

What version of Solr? since 5.4 there's been a FORCELEADER colelctions API call that might

I'd run it with the newly added replicas offline. you only want it to have good replicas to
choose from.


On Wed, Feb 1, 2017 at 6:48 AM, tedsolr <> wrote:
> Update! I did find an error:
> 2017-02-01 09:23:22.673 ERROR org.apache.solr.common.SolrException
> :org.apache.solr.common.SolrException: Error getting leader from zk 
> for shard shard1 ....
> Caused by: org.apache.solr.common.SolrException: Could not get leader props
>         at
>         at
>         at
>         ... 14 more
> Caused by: org.apache.zookeeper.KeeperException$NoNodeException:
> KeeperErrorCode = NoNode for /collections/colname/leaders/shard1
>         at 
> org.apache.zookeeper.KeeperException.create(
> When I view the cluster status I see that this shard does not have a leader.
> So it appears I need to force the leader designation to the "active"
> replica. How do I do that?
> --
> View this message in context: 
> 8260p4318265.html Sent from the Solr - User mailing list archive at 

View raw message