lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1014) SolrExampleStreamingTest failures
Date Mon, 13 Jul 2009 02:15:14 GMT

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

Mark Miller commented on SOLR-1014:
-----------------------------------

Hmmm...I couldnt see the failure with: ubuntu 9.04, duo-core, ext3, openjdk 6 and sun java
1.5 (both 64-bit)

But, taking out my retry (which I put in because it would fail when I was doing something
else with the proc and it took to long to complete), I can see it fail every time with:
ubuntu 9.04, quad-core, ext4, openjdk 6 and sun java 1.5 (both 64-bit) and sun java 1.6 32-bit.

Fails with:

Jul 12, 2009 10:05:48 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:1124)
	at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:413)
	at org.apache.solr.update.DirectUpdateHandler2$CommitTracker.run(DirectUpdateHandler2.java:594)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:172)
	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)

Test passes with the retry though. On a side note: perhaps the retry needs better logic to
determine if it was really just not long enough. Need a better way than waiting for half a
second ... I suppose I should take it out for now. Nice not to fail because the processor
couldn't quite keep up, but not nice to hide things like this :)

> SolrExampleStreamingTest  failures
> ----------------------------------
>
>                 Key: SOLR-1014
>                 URL: https://issues.apache.org/jira/browse/SOLR-1014
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>             Fix For: 1.4
>
>
> SolrExampleStreamingTest  intermittently fails.

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