lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-11787) StackOverflowError in leader election
Date Thu, 21 Dec 2017 15:33:00 GMT

     [ https://issues.apache.org/jira/browse/SOLR-11787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Markus Jelsma updated SOLR-11787:
---------------------------------
    Description: 
Just got this:

{code}
Exception in thread "coreZkRegister-1-thread-1" Exception in thread "coreZkRegister-1-thread-3"
java.lang.StackOverflowError
        at java.text.DecimalFormat.subformat(DecimalFormat.java:1639)
        at java.text.DecimalFormat.format(DecimalFormat.java:712)
        at java.text.DecimalFormat.format(DecimalFormat.java:646)
        at java.text.SimpleDateFormat.zeroPaddingNumber(SimpleDateFormat.java:1393)
        at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1332)
        at java.text.SimpleDateFormat.format(SimpleDateFormat.java:966)
        at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936)
        at org.apache.log4j.pattern.DatePatternConverter$DefaultZoneDateFormat.format(DatePatternConverter.java:96)
        at java.text.DateFormat.format(DateFormat.java:345)
        at org.apache.log4j.pattern.CachedDateFormat.format(CachedDateFormat.java:283)
        at org.apache.log4j.pattern.DatePatternConverter.format(DatePatternConverter.java:180)
        at org.apache.log4j.pattern.BridgePatternConverter.format(BridgePatternConverter.java:119)
        at org.apache.log4j.EnhancedPatternLayout.format(EnhancedPatternLayout.java:546)
        at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:310)
        at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:276)
        at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
        at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
        at org.apache.log4j.Category.callAppenders(Category.java:206)
        at org.apache.log4j.Category.forcedLog(Category.java:391)
        at org.apache.log4j.Category.log(Category.java:856)
        at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:478)
        at org.apache.solr.update.PeerSync.handleResponse(PeerSync.java:485)
        at org.apache.solr.update.PeerSync.sync(PeerSync.java:348)
        at org.apache.solr.cloud.SyncStrategy.syncWithReplicas(SyncStrategy.java:180)
        at org.apache.solr.cloud.SyncStrategy.syncReplicas(SyncStrategy.java:129)
        at org.apache.solr.cloud.SyncStrategy.sync(SyncStrategy.java:108)
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:386)
        at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
        at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
        at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
        at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
        at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
        at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
        at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
        at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
        at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
....
{code}

Never saw it before, Solr is still running fine it seems.

edit: restarted Solr, got it again after a little while.

edit: it seems to be caused by:

{code}
2017-12-21 15:22:22.226 ERROR (qtp1929600551-22) [   ] o.a.s.s.HttpSolrCall null:org.apache.solr.core.SolrCoreInitializationException:
SolrCore 'logs_shard1_replica_n1' is not available due
 to init failure: null
        at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:1472)
        at org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:267)
        at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:480)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)
{code}

  was:
Just got this:

{code}
Exception in thread "coreZkRegister-1-thread-1" Exception in thread "coreZkRegister-1-thread-3"
java.lang.StackOverflowError
        at java.text.DecimalFormat.subformat(DecimalFormat.java:1639)
        at java.text.DecimalFormat.format(DecimalFormat.java:712)
        at java.text.DecimalFormat.format(DecimalFormat.java:646)
        at java.text.SimpleDateFormat.zeroPaddingNumber(SimpleDateFormat.java:1393)
        at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1332)
        at java.text.SimpleDateFormat.format(SimpleDateFormat.java:966)
        at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936)
        at org.apache.log4j.pattern.DatePatternConverter$DefaultZoneDateFormat.format(DatePatternConverter.java:96)
        at java.text.DateFormat.format(DateFormat.java:345)
        at org.apache.log4j.pattern.CachedDateFormat.format(CachedDateFormat.java:283)
        at org.apache.log4j.pattern.DatePatternConverter.format(DatePatternConverter.java:180)
        at org.apache.log4j.pattern.BridgePatternConverter.format(BridgePatternConverter.java:119)
        at org.apache.log4j.EnhancedPatternLayout.format(EnhancedPatternLayout.java:546)
        at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:310)
        at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:276)
        at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
        at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
        at org.apache.log4j.Category.callAppenders(Category.java:206)
        at org.apache.log4j.Category.forcedLog(Category.java:391)
        at org.apache.log4j.Category.log(Category.java:856)
        at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:478)
        at org.apache.solr.update.PeerSync.handleResponse(PeerSync.java:485)
        at org.apache.solr.update.PeerSync.sync(PeerSync.java:348)
        at org.apache.solr.cloud.SyncStrategy.syncWithReplicas(SyncStrategy.java:180)
        at org.apache.solr.cloud.SyncStrategy.syncReplicas(SyncStrategy.java:129)
        at org.apache.solr.cloud.SyncStrategy.sync(SyncStrategy.java:108)
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:386)
        at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
        at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
        at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
        at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
        at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
        at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
        at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
        at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
        at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
....
{code}

Never saw it before, Solr is still running fine it seems.

edit: restarted Solr, got it again after a little while.


> StackOverflowError in leader election
> -------------------------------------
>
>                 Key: SOLR-11787
>                 URL: https://issues.apache.org/jira/browse/SOLR-11787
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.1
>            Reporter: Markus Jelsma
>             Fix For: master (8.0)
>
>
> Just got this:
> {code}
> Exception in thread "coreZkRegister-1-thread-1" Exception in thread "coreZkRegister-1-thread-3"
java.lang.StackOverflowError
>         at java.text.DecimalFormat.subformat(DecimalFormat.java:1639)
>         at java.text.DecimalFormat.format(DecimalFormat.java:712)
>         at java.text.DecimalFormat.format(DecimalFormat.java:646)
>         at java.text.SimpleDateFormat.zeroPaddingNumber(SimpleDateFormat.java:1393)
>         at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1332)
>         at java.text.SimpleDateFormat.format(SimpleDateFormat.java:966)
>         at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936)
>         at org.apache.log4j.pattern.DatePatternConverter$DefaultZoneDateFormat.format(DatePatternConverter.java:96)
>         at java.text.DateFormat.format(DateFormat.java:345)
>         at org.apache.log4j.pattern.CachedDateFormat.format(CachedDateFormat.java:283)
>         at org.apache.log4j.pattern.DatePatternConverter.format(DatePatternConverter.java:180)
>         at org.apache.log4j.pattern.BridgePatternConverter.format(BridgePatternConverter.java:119)
>         at org.apache.log4j.EnhancedPatternLayout.format(EnhancedPatternLayout.java:546)
>         at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:310)
>         at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:276)
>         at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
>         at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
>         at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
>         at org.apache.log4j.Category.callAppenders(Category.java:206)
>         at org.apache.log4j.Category.forcedLog(Category.java:391)
>         at org.apache.log4j.Category.log(Category.java:856)
>         at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:478)
>         at org.apache.solr.update.PeerSync.handleResponse(PeerSync.java:485)
>         at org.apache.solr.update.PeerSync.sync(PeerSync.java:348)
>         at org.apache.solr.cloud.SyncStrategy.syncWithReplicas(SyncStrategy.java:180)
>         at org.apache.solr.cloud.SyncStrategy.syncReplicas(SyncStrategy.java:129)
>         at org.apache.solr.cloud.SyncStrategy.sync(SyncStrategy.java:108)
>         at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:386)
>         at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
>         at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
>         at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
>         at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
>         at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
>         at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
>         at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
>         at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
>         at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
>         at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
>         at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
>         at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
>         at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
>         at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
>         at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:307)
>         at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:216)
>         at org.apache.solr.cloud.ShardLeaderElectionContext.rejoinLeaderElection(ElectionContext.java:729)
>         at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:435)
> ....
> {code}
> Never saw it before, Solr is still running fine it seems.
> edit: restarted Solr, got it again after a little while.
> edit: it seems to be caused by:
> {code}
> 2017-12-21 15:22:22.226 ERROR (qtp1929600551-22) [   ] o.a.s.s.HttpSolrCall null:org.apache.solr.core.SolrCoreInitializationException:
SolrCore 'logs_shard1_replica_n1' is not available due
>  to init failure: null
>         at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:1472)
>         at org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:267)
>         at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:480)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message