I suspect (but don't know for sure) that the problem here is that ZK
is limited to 1M at the moment, although this is configurable (sorry,
don't have the reference handy).

But at 3,000 cores you're certainly going into relatively uncharted
territory so I'm unsurprised that you're running into edge cases.

You can try to change the size that is allowed for ZK. Or consider
using fewer cores and limiting the contents returned with the
appropriate fq clause.

Note that the whole transient core stuff is _not_ supported in
SolrCloud (yet, although there is some interest).

Best,
Erick

On Mon, Jun 23, 2014 at 7:17 AM, pravin <pravin...@gmail.com> wrote:
> I am also facing this issue recently.
> Any solution to fix this issue? I have almost 3000+ core created and adding
> some more.
> Please suggest if there is restriction on the core numbers and shard and
> collection.
>
> Here is trace:
>
> Jun 23, 2014 9:01:45 AM org.apache.solr.common.SolrException log
> SEVERE: org.apache.solr.common.SolrException: Error CREATEing SolrCore
> 'test_core_3005': Could not get shard_id for core: test_core_3005
>         at
> org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:521)
>         at
> org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:142)
>         at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>         at
> org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:372)
>         at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:181)
>         at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>         at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>         at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>         at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>         at org.mortbay.jetty.Server.handle(Server.java:285)
>         at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>         at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>         at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
>         at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> Caused by: org.apache.solr.common.SolrException: Could not get shard_id for
> core: core_t3nant778_com
>         at
> org.apache.solr.cloud.ZkController.doGetShardIdProcess(ZkController.java:995)
>         at
> org.apache.solr.cloud.ZkController.preRegister(ZkController.java:1053)
>         at
> org.apache.solr.core.CoreContainer.register(CoreContainer.java:662)
>         at
> org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:517)
>         ... 21 more
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Error-creating-collection-tp4057859p4143444.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to