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, true)
{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: [email protected]
For additional commands, e-mail: [email protected]