[
https://issues.apache.org/jira/browse/SOLR-5692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man resolved SOLR-5692.
----------------------------
Resolution: Duplicate
Resolving as duplicate of SOLR-6213 (this issue is older, but that one has more
discussion/context)
> StackOverflowError during SolrCloud leader election process
> -----------------------------------------------------------
>
> Key: SOLR-5692
> URL: https://issues.apache.org/jira/browse/SOLR-5692
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.6.1
> Reporter: Bojan Smid
> Labels: difficulty-hard, impact-medium
> Attachments: recovery-stackoverflow.txt
>
>
> I have SolrCloud cluster with 7 nodes, each with few 1000 cores. I got this
> StackOverflow few times when starting one of the nodes (just a piece of stack
> trace, the rest repeats, leader election process obviously got stuck in
> infinite repetition of steps):
> [2/4/14 3:42:43 PM] Bojan: 2014-02-04 15:18:01,947
> [localhost-startStop-1-EventThread] ERROR org.apache.zookeeper.ClientCnxn-
> Error while calling watcher
> java.lang.StackOverflowError
> at java.security.AccessController.doPrivileged(Native Method)
> at java.io.PrintWriter.<init>(PrintWriter.java:116)
> at java.io.PrintWriter.<init>(PrintWriter.java:100)
> at org.apache.solr.common.SolrException.toStr(SolrException.java:138)
> at org.apache.solr.common.SolrException.log(SolrException.java:113)
> [2/4/14 3:42:58 PM] Bojan: at
> org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:377)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:184)
> at
> org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:162)
> at
> org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:106)
> at
> org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:272)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:380)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:184)
> at
> org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:162)
> at
> org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:106)
> at
> org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:272)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:380)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:184)
> at
> org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:162)
> at
> org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:106)
> at
> org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:272)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:380)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:184)
> at
> org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:162)
> at
> org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:106)
> at
> org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:272)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:380)
> at
> org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:184)
> at
> org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:162)
> at
> org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:106)
> at
> org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:272)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]