[ 
https://issues.apache.org/jira/browse/SOLR-6106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Potter updated SOLR-6106:
---------------------------------

    Attachment: SOLR-6106_prelim.patch

This is just a preliminary patch to help troubleshoot this issue if it comes up 
again (little more logging in a few places). There's definitely something very 
wrong here as I see the following events in my log:

2014-05-21 20:34:36,735 [coreLoadExecutor-4-thread-27] INFO  
common.cloud.ZkStateReader  - Load collection config from:/collections/small46
2014-05-21 20:34:36,735 [coreLoadExecutor-4-thread-25] INFO  
common.cloud.ZkStateReader  - Updating collection state at 
/collections/small393/state from ZooKeeper... 
2014-05-21 20:34:36,736 [coreLoadExecutor-4-thread-27] INFO  
common.cloud.ZkStateReader  - path=/collections/small46 configName=cloud 
specified config exists in ZooKeeper

...

2014-05-21 20:39:17,898 [coreLoadExecutor-4-thread-27] ERROR 
solr.core.CoreContainer  - Unable to create core: small46_shard1_replica1
org.apache.solr.common.SolrException: Could not find config name for 
collection:small46
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:858)
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:641)
        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:556)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261)
        at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
Caused by: org.apache.solr.common.SolrException: Could not find config name for 
collection:small46
        at 
org.apache.solr.rest.ManagedResourceStorage.newStorageIO(ManagedResourceStorage.java:99)
        at org.apache.solr.core.SolrCore.initRestManager(SolrCore.java:2339)
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:845)


I also noticed that the ManagedResourceStorage could get the path it needed 
from the ZkSolrResourceLoader, so this patch fixes that as well.

> Sometimes all the cores on a SolrCloud node cannot find their config when 
> intializing the ManagedResourceStorage storageIO impl
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6106
>                 URL: https://issues.apache.org/jira/browse/SOLR-6106
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>            Priority: Minor
>         Attachments: SOLR-6106_prelim.patch
>
>
> Had one of my many nodes have problems initializing all cores due to the 
> following problem. It was resolved by restarting the node (hence the minor 
> classification).
> 2014-05-21 20:39:17,898 [coreLoadExecutor-4-thread-27] ERROR 
> solr.core.CoreContainer  - Unable to create core: small46_shard1_replica1
> org.apache.solr.common.SolrException: Could not find config name for 
> collection:small46
>       at org.apache.solr.core.SolrCore.<init>(SolrCore.java:858)
>       at org.apache.solr.core.SolrCore.<init>(SolrCore.java:641)
>       at org.apache.solr.core.CoreContainer.create(CoreContainer.java:556)
>       at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:261)
>       at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:253)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:744)
> Caused by: org.apache.solr.common.SolrException: Could not find config name 
> for collection:small46
>       at 
> org.apache.solr.rest.ManagedResourceStorage.newStorageIO(ManagedResourceStorage.java:99)
>       at org.apache.solr.core.SolrCore.initRestManager(SolrCore.java:2339)
>       at org.apache.solr.core.SolrCore.<init>(SolrCore.java:845)
>       ... 10 more



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to