lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wojciech Gruszczyk (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2913) Interrupted Exception when closing a SolrCore
Date Fri, 25 Nov 2011 08:54:39 GMT

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

Wojciech Gruszczyk commented on SOLR-2913:
------------------------------------------

I have the same issue. My code was unchanged since solr 3.3 and after shift to 3.4 the exception
messes the logs.
                
> Interrupted Exception when closing a SolrCore
> ---------------------------------------------
>
>                 Key: SOLR-2913
>                 URL: https://issues.apache.org/jira/browse/SOLR-2913
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.4
>         Environment: embedded solr 3.4 
>            Reporter: Krzysztof Kwiatosz
>
> When I try to close a SolrCore instance I get a the following exception:
> {code}
> ERROR [Task-master-poll] [SolrCore] java.lang.InterruptedException
>         at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1953)
>         at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1245)
>         at java.util.concurrent.Executors$DelegatedExecutorService.awaitTermination(Executors.java:597)
>         at org.apache.solr.core.SolrCore.close(SolrCore.java:715)
> {code}
> This happens when I want to register a new core and there exists an old core which is
being replaced and closed:
> {code}
> coreContainer.register(newSolrCore, false)
> {code}
> or if I tried to close the old core manually:
> {code}
> 		final SolrCore oldCore = coreContainer.remove(coreName);
> 		if (oldCore != null)
> 		{
> 				oldCore.close();
> 		}
> {code}
> What can be the reason?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message