You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Krzysztof Kwiatosz (Created) (JIRA)" <ji...@apache.org> on 2011/12/07 09:14:40 UTC

[jira] [Created] (SOLR-2952) InterruptedException during SorlCore instatiation

InterruptedException during SorlCore instatiation
-------------------------------------------------

                 Key: SOLR-2952
                 URL: https://issues.apache.org/jira/browse/SOLR-2952
             Project: Solr
          Issue Type: Bug
          Components: Schema and Analysis
    Affects Versions: 3.4
            Reporter: Krzysztof Kwiatosz


We have the following exception during SolrCore initialization:
{code}
org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException: sleep interrupted
     [java] java.lang.RuntimeException: org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException: sleep interrupted
     [java]     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1099)
     [java]     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:585)
     [java]     at de.hybris.platform.solrfacetsearch.solr.impl.SolrCoreRegistry.registerServer(SolrCoreRegistry.java:263)
     [java]     at de.hybris.platform.solrfacetsearch.solr.impl.SolrCoreRegistry.getEmbeddedSolrServer(SolrCoreRegistry.java:203)
     [java]     at de.hybris.platform.solrfacetsearch.solr.impl.SolrCoreRegistry.getEmbeddedSolrServer(SolrCoreRegistry.java:217)
     [java]     at de.hybris.platform.solrfacetsearch.jalo.SolrfacetsearchManager$1.afterTenantStartUp(SolrfacetsearchManager.java:104)
     [java]     at de.hybris.platform.core.AbstractTenant.executeStartupNotifyIfNecessary(AbstractTenant.java:601)
     [java]     at de.hybris.platform.core.AbstractTenant.executeInitsIfNecessary(AbstractTenant.java:1012)
     [java]     at de.hybris.platform.core.Registry.assureTenantStarted(Registry.java:478)
     [java]     at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:423)
     [java]     at de.hybris.platform.core.Registry.activateMasterTenantAndFailIfAlreadySet(Registry.java:388)
     [java]     at de.hybris.platform.core.Registry.setCurrentTenantByID(Registry.java:497)
     [java]     at de.hybris.platform.task.impl.DefaultTaskService$Poll.activateTenant(DefaultTaskService.java:1072)
     [java]     at de.hybris.platform.task.impl.DefaultTaskService$Poll.run(DefaultTaskService.java:947)
     [java] Caused by: org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException: sleep interrupted
     [java]     at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:696)
     [java]     at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:75)
     [java]     at org.apache.lucene.index.IndexReader.open(IndexReader.java:421)
     [java]     at org.apache.lucene.index.IndexReader.open(IndexReader.java:364)
     [java]     at org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
     [java]     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1088)
     [java]     ... 13 more
     [java] Caused by: java.lang.InterruptedException: sleep interrupted
     [java]     at java.lang.Thread.sleep(Native Method)
     [java]     at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:694)
     [java]     ... 18 more
{code}

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


[jira] [Commented] (SOLR-2952) InterruptedException during SorlCore instatiation

Posted by "Erik Hatcher (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164376#comment-13164376 ] 

Erik Hatcher commented on SOLR-2952:
------------------------------------

Custom classes are shown in that stack trace that don't come with Solr.  First thing is to investigate that custom code, as that is likely where the issue is.
                
> InterruptedException during SorlCore instatiation
> -------------------------------------------------
>
>                 Key: SOLR-2952
>                 URL: https://issues.apache.org/jira/browse/SOLR-2952
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>    Affects Versions: 3.4
>            Reporter: Krzysztof Kwiatosz
>
> We have the following exception during SolrCore initialization:
> {code}
> org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException: sleep interrupted
>      [java] java.lang.RuntimeException: org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException: sleep interrupted
>      [java]     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1099)
>      [java]     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:585)
>      [java]     at de.hybris.platform.solrfacetsearch.solr.impl.SolrCoreRegistry.registerServer(SolrCoreRegistry.java:263)
>      [java]     at de.hybris.platform.solrfacetsearch.solr.impl.SolrCoreRegistry.getEmbeddedSolrServer(SolrCoreRegistry.java:203)
>      [java]     at de.hybris.platform.solrfacetsearch.solr.impl.SolrCoreRegistry.getEmbeddedSolrServer(SolrCoreRegistry.java:217)
>      [java]     at de.hybris.platform.solrfacetsearch.jalo.SolrfacetsearchManager$1.afterTenantStartUp(SolrfacetsearchManager.java:104)
>      [java]     at de.hybris.platform.core.AbstractTenant.executeStartupNotifyIfNecessary(AbstractTenant.java:601)
>      [java]     at de.hybris.platform.core.AbstractTenant.executeInitsIfNecessary(AbstractTenant.java:1012)
>      [java]     at de.hybris.platform.core.Registry.assureTenantStarted(Registry.java:478)
>      [java]     at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:423)
>      [java]     at de.hybris.platform.core.Registry.activateMasterTenantAndFailIfAlreadySet(Registry.java:388)
>      [java]     at de.hybris.platform.core.Registry.setCurrentTenantByID(Registry.java:497)
>      [java]     at de.hybris.platform.task.impl.DefaultTaskService$Poll.activateTenant(DefaultTaskService.java:1072)
>      [java]     at de.hybris.platform.task.impl.DefaultTaskService$Poll.run(DefaultTaskService.java:947)
>      [java] Caused by: org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException: sleep interrupted
>      [java]     at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:696)
>      [java]     at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:75)
>      [java]     at org.apache.lucene.index.IndexReader.open(IndexReader.java:421)
>      [java]     at org.apache.lucene.index.IndexReader.open(IndexReader.java:364)
>      [java]     at org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
>      [java]     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1088)
>      [java]     ... 13 more
>      [java] Caused by: java.lang.InterruptedException: sleep interrupted
>      [java]     at java.lang.Thread.sleep(Native Method)
>      [java]     at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:694)
>      [java]     ... 18 more
> {code}
> What could 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