On 27.02.2018 09:36, zahra121 wrote:
> Suppose I have a node which is a leader in SolrCloud.
>
> When I block this leader's SolrCloud and Zookeeper ports by the command
> "firewall-cmd --remove-port=/tcp --permanent", the leader does not
> change automatically and this leader status remains active
Dear Mr. Shalin,
Yes. I mean "state" in Cluster State API and UI.
Let me explain what happened previous days by detail:
Think I have Collection A distributed across node1 (the leader), node2 and
node 3.
I used the following command to block node 1 solr and zookeeper ports from
being listend:
(
When you say it is active, I presume you mean the "state" as returned by
the Cluster Status API or as shown on the UI. But is it still the leader?
Are you sure the firewall rules are correct? Do you see disconnected or
session expiry exceptions in the leader logs?
On Wed, Feb 28, 2018 at 12:21 PM,
Thanks Shalin. our "zkClientTimeout" is 3, so the leader should be
changed by now; However, the previous leader is still active.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
When you block communication between Zookeeper and the leader, the ZK
client inside Solr will disconnect and its session will expire after the
session timeout. At this point a new leader should be elected
automatically. The default timeout is 30 seconds. You should be able to see
the value in solr.
The leader status is active. My main question is that how I can change the
leader in SolrCloud.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
i don't understand your problem clearly but solr admin ui has some bugs.
to check your cloud nodes state use the CLUSTERSTATUS command:
/admin/collections?action=CLUSTERSTATUS
in some cases your command was done but you can't see in admin ui.
On Tue, Feb 27, 2018 at 12:49 PM, Shawn Heisey wrote:
Thanks Shawn for the reply. when I try to add a document to solr I get the
"no route to host" exception. this means that SolrCloud is aware of the
blocking ports; However, zookeeper does not automatically change the leader!
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.htm
On 2/27/2018 1:36 AM, zahra121 wrote:
Suppose I have a node which is a leader in SolrCloud.
When I block this leader's SolrCloud and Zookeeper ports by the command
"firewall-cmd --remove-port=/tcp --permanent", the leader does not
change automatically and this leader status remains active in sol
Suppose I have a node which is a leader in SolrCloud.
When I block this leader's SolrCloud and Zookeeper ports by the command
"firewall-cmd --remove-port=/tcp --permanent", the leader does not
change automatically and this leader status remains active in solr admin UI.
Thus, I decided to change t
10 matches
Mail list logo