lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-926) Exception in Replication
Date Mon, 27 Apr 2009 16:26:31 GMT

    [ https://issues.apache.org/jira/browse/SOLR-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703200#action_12703200
] 

Shalin Shekhar Mangar commented on SOLR-926:
--------------------------------------------

{quote}I saw that mentioned in the other thread, but Yonik's attached junit output had no
exception that I could find?{quote}

It is there, the same one. From Yonik's junit output:
{code}
INFO: Opening Searcher@2fb002 main
Jan 30, 2009 3:21:07 PM org.apache.solr.common.SolrException log
SEVERE: java.util.concurrent.RejectedExecutionException
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1477)
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:384)
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:856)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:45)
	at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:606)
	at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1195)
	at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:357)
	at org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:352)
	at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:279)
	at org.apache.solr.handler.ReplicationHandler.doSnapPull(ReplicationHandler.java:220)
	at org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:139)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:595)
{code}

However there is another one, just after the above:
{code}
Jan 30, 2009 3:21:07 PM org.apache.solr.handler.ReplicationHandler doSnapPull
SEVERE: SnapPull failed 
org.apache.solr.common.SolrException: Snappull failed : 
	at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:290)
	at org.apache.solr.handler.ReplicationHandler.doSnapPull(ReplicationHandler.java:220)
	at org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:139)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.lucene.index.CorruptIndexException: failed to locate current segments_N
file
	at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:212)
	at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1202)
	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1009)
	at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:159)
	at org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:123)
	at org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:164)
	at org.apache.solr.update.DirectUpdateHandler2.forceOpenWriter(DirectUpdateHandler2.java:319)
	at org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:356)
	at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:279)
	... 11 more
{code}

The segment file did not get replicated but I'm not sure how both are related.

> Exception in Replication
> ------------------------
>
>                 Key: SOLR-926
>                 URL: https://issues.apache.org/jira/browse/SOLR-926
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java)
>            Reporter: Noble Paul
>             Fix For: 1.4
>
>
> While running the replication testcase (TestReplicationHandler)
> I get an exception
> Dec 17, 2008 6:22:12 PM org.apache.solr.common.SolrException log
> SEVERE: java.util.concurrent.RejectedExecutionException
>  at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1477)
>  at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:384)
>  at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:856)
>  at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:45)
>  at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:606)
>  at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1175)
>  at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:350)
>  at org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:369)
>  at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:278)
>  at org.apache.solr.handler.ReplicationHandler.doSnapPull(ReplicationHandler.java:211)
>  at org.apache.solr.handler.SnapPuller$1.run(SnapPuller.java:138)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
>  at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
>  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
>  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
>  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
>  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>  at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message