lucene-solr-user mailing list archives

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

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
that
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

Regards,
~Sri


-----Original Message-----
From: Erick Erickson [mailto:erickerickson@gmail.com] 
Sent: Wednesday, February 01, 2017 10:39 AM
To: solr-user <solr-user@lucene.apache.org>
Subject: Re: Collection will not replicate

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

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

Best,
Erick

On Wed, Feb 1, 2017 at 6:48 AM, tedsolr <tsmith@sciquest.com> 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
> org.apache.solr.cloud.ZkController.getLeaderProps(ZkController.java:1040)
>         at
> org.apache.solr.cloud.ZkController.getLeaderProps(ZkController.java:1004)
>         at org.apache.solr.cloud.ZkController.getLeader(ZkController.java:960)
>         ... 14 more
> Caused by: org.apache.zookeeper.KeeperException$NoNodeException:
> KeeperErrorCode = NoNode for /collections/colname/leaders/shard1
>         at 
> org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>
> 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: 
> http://lucene.472066.n3.nabble.com/Collection-will-not-replicate-tp431
> 8260p4318265.html Sent from the Solr - User mailing list archive at 
> Nabble.com.

Mime
View raw message