You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by RadhaJayalakshmi <rl...@inautix.co.in> on 2013/10/16 11:48:40 UTC

Timeout Errors while using Collections API

Hi,
My setup is
Zookeeper ensemble - running with 3 nodes
Tomcats - 9 Tomcat instances are brought up, by registereing with zookeeper. 

Steps :
1) I uploaded the solr configuration like db_data_config, solrconfig, schema
xmls into zookeeoper
2)  Now, i am trying to create a collection with the collection API like
below:

http://miadevuser001.albridge.com:7021/solr/admin/collections?action=CREATE&name=Schwab_InvACC_Coll&numShards=1&replicationFactor=2&createNodeSet=localhost:7034_solr,localhost:7036_solr&collection.configName=InvestorAccountDomainConfig

Now, when i execute this command, i am getting the following error:
<response><lst name="responseHeader"><int name="status">500</int><int
name="QTime">60015</int></lst><lst name="error"><str
name="msg">createcollection the collection time out:60s</str><str
name="trace">org.apache.solr.common.SolrException: createcollection the
collection time out:60s
	at
org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:175)
	at
org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:156)
	at
org.apache.solr.handler.admin.CollectionsHandler.handleCreateAction(CollectionsHandler.java:290)
	at
org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:112)
	at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
	at
org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:611)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:218)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
</str><int name="code">500</int></lst></response>

Now after i got this error, i am not able to do any operation on these
instances with collection API. It is repeteadly giving the same timeout
error..
This setup was working fine 5 mins back. suddenly it started throwing this
exceptions. Any ideas please??






--
View this message in context: http://lucene.472066.n3.nabble.com/Timeout-Errors-while-using-Collections-API-tp4095852.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Timeout Errors while using Collections API

Posted by Grzegorz Sobczyk <gs...@gmail.com>.
Thanks, I'll try upgade.


On 17 October 2013 15:55, Mark Miller <ma...@gmail.com> wrote:

> There was a reload bug in SolrCloud that was fixed in 4.4 -
> https://issues.apache.org/jira/browse/SOLR-4805
>
> Mark
>
> On Oct 17, 2013, at 7:18 AM, Grzegorz Sobczyk <gs...@gmail.com> wrote:
>
> > Sorry for previous spam (something eat my message)
> >
> > I have the same problem but with reload action
> > ENV:
> > - 3x Solr 4.2.1 with 4 cores each
> > - ZK
> >
> > Before error I have:
> > - 14, 2013 5:25:36 AM CollectionsHandler handleReloadAction INFO:
> Reloading
> > Collection : name=products&action=RELOAD
> > - hundreds of (with the same timestamp) 14, 2013 5:25:36 AM
> > DistributedQueue$LatchChildWatcher process INFO: Watcher fired on path:
> > /overseer/collection-queue-work state: SyncConnected type
> > NodeChildrenChanged
> > - 13 times (from 2013 5:25:39 to 5:25:45):
> > -- 14, 2013 5:25:39 AM SolrDispatchFilter handleAdminRequest INFO:
> [admin]
> > webapp=null path=/admin/cores params={action=STATUS&wt=ruby} status=0
> > QTime=2
> > -- 14, 2013 5:25:39 AM SolrDispatchFilter handleAdminRequest INFO:
> [admin]
> > webapp=null path=/admin/cores params={action=STATUS&wt=ruby} status=0
> > QTime=1
> > -- 14, 2013 5:25:39 AM SolrCore execute INFO: [forum] webapp=/solr
> > path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
> > -- 14, 2013 5:25:39 AM SolrCore execute INFO: [knowledge] webapp=/solr
> > path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
> > -- 14, 2013 5:25:39 AM SolrCore execute INFO: [products] webapp=/solr
> > path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
> > -- 14, 2013 5:25:39 AM SolrCore execute INFO: [shops] webapp=/solr
> > path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=1
> > - 14, 2013 5:26:21 AM SolrCore execute INFO: [products] webapp=/solr
> > path=/select/ params={q=solrpingquery} hits=0 status=0 QTime=0
> > - 14, 2013 5:26:36 AM DistributedQueue$LatchChildWatcher process INFO:
> > Watcher fired on path: /overseer/collection-queue-work/qnr-0000000806
> > state: SyncConnected type NodeDeleted
> > - 14, 2013 5:26:36 AM SolrException log SEVERE:
> > org.apache.solr.common.SolrException: reloadcollection the collection
> time
> > out:60s
> > at
> >
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:162)
> > at
> >
> org.apache.solr.handler.admin.CollectionsHandler.handleReloadAction(CollectionsHandler.java:184)
> > at
> >
> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:120)
> >
> > What are possilibities of such behaviour? When this error is thrown?
> > Does anybody has the same issue?
> >
> >
> > On 17 October 2013 13:08, Grzegorz Sobczyk <gs...@gmail.com> wrote:
> >
> >>
> >>
> >> On 16 October 2013 11:48, RadhaJayalakshmi <
> >> rlakshminarayanan@inautix.co.in> wrote:
> >>
> >>> Hi,
> >>> My setup is
> >>> Zookeeper ensemble - running with 3 nodes
> >>> Tomcats - 9 Tomcat instances are brought up, by registereing with
> >>> zookeeper.
> >>>
> >>> Steps :
> >>> 1) I uploaded the solr configuration like db_data_config, solrconfig,
> >>> schema
> >>> xmls into zookeeoper
> >>> 2)  Now, i am trying to create a collection with the collection API
> like
> >>> below:
> >>>
> >>>
> >>>
> http://miadevuser001.albridge.com:7021/solr/admin/collections?action=CREATE&name=Schwab_InvACC_Coll&numShards=1&replicationFactor=2&createNodeSet=localhost:7034_solr,localhost:7036_solr&collection.configName=InvestorAccountDomainConfig
> >>>
> >>> Now, when i execute this command, i am getting the following error:
> >>> <response><lst name="responseHeader"><int name="status">500</int><int
> >>> name="QTime">60015</int></lst><lst name="error"><str
> >>> name="msg">createcollection the collection time out:60s</str><str
> >>> name="trace">org.apache.solr.common.SolrException: createcollection the
> >>> collection time out:60s
> >>>        at
> >>>
> >>>
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:175)
> >>>        at
> >>>
> >>>
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:156)
> >>>        at
> >>>
> >>>
> org.apache.solr.handler.admin.CollectionsHandler.handleCreateAction(CollectionsHandler.java:290)
> >>>        at
> >>>
> >>>
> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:112)
> >>>        at
> >>>
> >>>
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
> >>>        at
> >>>
> >>>
> org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:611)
> >>>        at
> >>>
> >>>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:218)
> >>>        at
> >>>
> >>>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158)
> >>>        at
> >>>
> >>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> >>>        at
> >>>
> >>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >>>        at
> >>>
> >>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> >>>        at
> >>>
> >>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> >>>        at
> >>>
> >>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> >>>        at
> >>>
> >>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> >>>        at
> >>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
> >>>        at
> >>>
> >>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> >>>        at
> >>>
> >>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> >>>        at
> >>>
> >>>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
> >>>        at
> >>>
> >>>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> >>>        at
> >>>
> >>>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> >>>        at
> >>>
> >>>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> >>>        at
> >>>
> >>>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> >>>        at java.lang.Thread.run(Thread.java:722)
> >>> </str><int name="code">500</int></lst></response>
> >>>
> >>> Now after i got this error, i am not able to do any operation on these
> >>> instances with collection API. It is repeteadly giving the same timeout
> >>> error..
> >>> This setup was working fine 5 mins back. suddenly it started throwing
> this
> >>> exceptions. Any ideas please??
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://lucene.472066.n3.nabble.com/Timeout-Errors-while-using-Collections-API-tp4095852.html
> >>> Sent from the Solr - User mailing list archive at Nabble.com.
> >>>
> >>
> >>
> >>
> >> --
> >> Grzegorz Sobczyk
> >>
> >
> >
> >
> > --
> > Grzegorz Sobczyk
>
>


-- 
Grzegorz Sobczyk

Re: Timeout Errors while using Collections API

Posted by Mark Miller <ma...@gmail.com>.
There was a reload bug in SolrCloud that was fixed in 4.4 - https://issues.apache.org/jira/browse/SOLR-4805

Mark

On Oct 17, 2013, at 7:18 AM, Grzegorz Sobczyk <gs...@gmail.com> wrote:

> Sorry for previous spam (something eat my message)
> 
> I have the same problem but with reload action
> ENV:
> - 3x Solr 4.2.1 with 4 cores each
> - ZK
> 
> Before error I have:
> - 14, 2013 5:25:36 AM CollectionsHandler handleReloadAction INFO: Reloading
> Collection : name=products&action=RELOAD
> - hundreds of (with the same timestamp) 14, 2013 5:25:36 AM
> DistributedQueue$LatchChildWatcher process INFO: Watcher fired on path:
> /overseer/collection-queue-work state: SyncConnected type
> NodeChildrenChanged
> - 13 times (from 2013 5:25:39 to 5:25:45):
> -- 14, 2013 5:25:39 AM SolrDispatchFilter handleAdminRequest INFO: [admin]
> webapp=null path=/admin/cores params={action=STATUS&wt=ruby} status=0
> QTime=2
> -- 14, 2013 5:25:39 AM SolrDispatchFilter handleAdminRequest INFO: [admin]
> webapp=null path=/admin/cores params={action=STATUS&wt=ruby} status=0
> QTime=1
> -- 14, 2013 5:25:39 AM SolrCore execute INFO: [forum] webapp=/solr
> path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
> -- 14, 2013 5:25:39 AM SolrCore execute INFO: [knowledge] webapp=/solr
> path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
> -- 14, 2013 5:25:39 AM SolrCore execute INFO: [products] webapp=/solr
> path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
> -- 14, 2013 5:25:39 AM SolrCore execute INFO: [shops] webapp=/solr
> path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=1
> - 14, 2013 5:26:21 AM SolrCore execute INFO: [products] webapp=/solr
> path=/select/ params={q=solrpingquery} hits=0 status=0 QTime=0
> - 14, 2013 5:26:36 AM DistributedQueue$LatchChildWatcher process INFO:
> Watcher fired on path: /overseer/collection-queue-work/qnr-0000000806
> state: SyncConnected type NodeDeleted
> - 14, 2013 5:26:36 AM SolrException log SEVERE:
> org.apache.solr.common.SolrException: reloadcollection the collection time
> out:60s
> at
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:162)
> at
> org.apache.solr.handler.admin.CollectionsHandler.handleReloadAction(CollectionsHandler.java:184)
> at
> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:120)
> 
> What are possilibities of such behaviour? When this error is thrown?
> Does anybody has the same issue?
> 
> 
> On 17 October 2013 13:08, Grzegorz Sobczyk <gs...@gmail.com> wrote:
> 
>> 
>> 
>> On 16 October 2013 11:48, RadhaJayalakshmi <
>> rlakshminarayanan@inautix.co.in> wrote:
>> 
>>> Hi,
>>> My setup is
>>> Zookeeper ensemble - running with 3 nodes
>>> Tomcats - 9 Tomcat instances are brought up, by registereing with
>>> zookeeper.
>>> 
>>> Steps :
>>> 1) I uploaded the solr configuration like db_data_config, solrconfig,
>>> schema
>>> xmls into zookeeoper
>>> 2)  Now, i am trying to create a collection with the collection API like
>>> below:
>>> 
>>> 
>>> http://miadevuser001.albridge.com:7021/solr/admin/collections?action=CREATE&name=Schwab_InvACC_Coll&numShards=1&replicationFactor=2&createNodeSet=localhost:7034_solr,localhost:7036_solr&collection.configName=InvestorAccountDomainConfig
>>> 
>>> Now, when i execute this command, i am getting the following error:
>>> <response><lst name="responseHeader"><int name="status">500</int><int
>>> name="QTime">60015</int></lst><lst name="error"><str
>>> name="msg">createcollection the collection time out:60s</str><str
>>> name="trace">org.apache.solr.common.SolrException: createcollection the
>>> collection time out:60s
>>>        at
>>> 
>>> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:175)
>>>        at
>>> 
>>> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:156)
>>>        at
>>> 
>>> org.apache.solr.handler.admin.CollectionsHandler.handleCreateAction(CollectionsHandler.java:290)
>>>        at
>>> 
>>> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:112)
>>>        at
>>> 
>>> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>>>        at
>>> 
>>> org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:611)
>>>        at
>>> 
>>> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:218)
>>>        at
>>> 
>>> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158)
>>>        at
>>> 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>        at
>>> 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>        at
>>> 
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>        at
>>> 
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>        at
>>> 
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>        at
>>> 
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>        at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
>>>        at
>>> 
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>        at
>>> 
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>>>        at
>>> 
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
>>>        at
>>> 
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>>        at
>>> 
>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>>        at
>>> 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>>        at
>>> 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>        at java.lang.Thread.run(Thread.java:722)
>>> </str><int name="code">500</int></lst></response>
>>> 
>>> Now after i got this error, i am not able to do any operation on these
>>> instances with collection API. It is repeteadly giving the same timeout
>>> error..
>>> This setup was working fine 5 mins back. suddenly it started throwing this
>>> exceptions. Any ideas please??
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>>> http://lucene.472066.n3.nabble.com/Timeout-Errors-while-using-Collections-API-tp4095852.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>> 
>> 
>> 
>> 
>> --
>> Grzegorz Sobczyk
>> 
> 
> 
> 
> -- 
> Grzegorz Sobczyk


Re: Timeout Errors while using Collections API

Posted by Grzegorz Sobczyk <gs...@gmail.com>.
Sorry for previous spam (something eat my message)

I have the same problem but with reload action
ENV:
 - 3x Solr 4.2.1 with 4 cores each
 - ZK

Before error I have:
- 14, 2013 5:25:36 AM CollectionsHandler handleReloadAction INFO: Reloading
Collection : name=products&action=RELOAD
- hundreds of (with the same timestamp) 14, 2013 5:25:36 AM
DistributedQueue$LatchChildWatcher process INFO: Watcher fired on path:
/overseer/collection-queue-work state: SyncConnected type
NodeChildrenChanged
- 13 times (from 2013 5:25:39 to 5:25:45):
-- 14, 2013 5:25:39 AM SolrDispatchFilter handleAdminRequest INFO: [admin]
webapp=null path=/admin/cores params={action=STATUS&wt=ruby} status=0
QTime=2
-- 14, 2013 5:25:39 AM SolrDispatchFilter handleAdminRequest INFO: [admin]
webapp=null path=/admin/cores params={action=STATUS&wt=ruby} status=0
QTime=1
-- 14, 2013 5:25:39 AM SolrCore execute INFO: [forum] webapp=/solr
path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
-- 14, 2013 5:25:39 AM SolrCore execute INFO: [knowledge] webapp=/solr
path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
-- 14, 2013 5:25:39 AM SolrCore execute INFO: [products] webapp=/solr
path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=2
-- 14, 2013 5:25:39 AM SolrCore execute INFO: [shops] webapp=/solr
path=/admin/mbeans params={stats=true&wt=ruby} status=0 QTime=1
- 14, 2013 5:26:21 AM SolrCore execute INFO: [products] webapp=/solr
path=/select/ params={q=solrpingquery} hits=0 status=0 QTime=0
- 14, 2013 5:26:36 AM DistributedQueue$LatchChildWatcher process INFO:
Watcher fired on path: /overseer/collection-queue-work/qnr-0000000806
state: SyncConnected type NodeDeleted
- 14, 2013 5:26:36 AM SolrException log SEVERE:
org.apache.solr.common.SolrException: reloadcollection the collection time
out:60s
at
org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:162)
at
org.apache.solr.handler.admin.CollectionsHandler.handleReloadAction(CollectionsHandler.java:184)
at
org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:120)

What are possilibities of such behaviour? When this error is thrown?
Does anybody has the same issue?


On 17 October 2013 13:08, Grzegorz Sobczyk <gs...@gmail.com> wrote:

>
>
> On 16 October 2013 11:48, RadhaJayalakshmi <
> rlakshminarayanan@inautix.co.in> wrote:
>
>> Hi,
>> My setup is
>> Zookeeper ensemble - running with 3 nodes
>> Tomcats - 9 Tomcat instances are brought up, by registereing with
>> zookeeper.
>>
>> Steps :
>> 1) I uploaded the solr configuration like db_data_config, solrconfig,
>> schema
>> xmls into zookeeoper
>> 2)  Now, i am trying to create a collection with the collection API like
>> below:
>>
>>
>> http://miadevuser001.albridge.com:7021/solr/admin/collections?action=CREATE&name=Schwab_InvACC_Coll&numShards=1&replicationFactor=2&createNodeSet=localhost:7034_solr,localhost:7036_solr&collection.configName=InvestorAccountDomainConfig
>>
>> Now, when i execute this command, i am getting the following error:
>> <response><lst name="responseHeader"><int name="status">500</int><int
>> name="QTime">60015</int></lst><lst name="error"><str
>> name="msg">createcollection the collection time out:60s</str><str
>> name="trace">org.apache.solr.common.SolrException: createcollection the
>> collection time out:60s
>>         at
>>
>> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:175)
>>         at
>>
>> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:156)
>>         at
>>
>> org.apache.solr.handler.admin.CollectionsHandler.handleCreateAction(CollectionsHandler.java:290)
>>         at
>>
>> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:112)
>>         at
>>
>> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>>         at
>>
>> org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:611)
>>         at
>>
>> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:218)
>>         at
>>
>> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158)
>>         at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>         at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>         at
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>         at
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>         at
>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>         at
>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>         at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
>>         at
>>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>         at
>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>>         at
>>
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
>>         at
>>
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>         at
>>
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>         at
>>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>         at
>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>         at java.lang.Thread.run(Thread.java:722)
>> </str><int name="code">500</int></lst></response>
>>
>> Now after i got this error, i am not able to do any operation on these
>> instances with collection API. It is repeteadly giving the same timeout
>> error..
>> This setup was working fine 5 mins back. suddenly it started throwing this
>> exceptions. Any ideas please??
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Timeout-Errors-while-using-Collections-API-tp4095852.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>
>
>
> --
> Grzegorz Sobczyk
>



-- 
Grzegorz Sobczyk

Re: Timeout Errors while using Collections API

Posted by Grzegorz Sobczyk <gs...@gmail.com>.
On 16 October 2013 11:48, RadhaJayalakshmi
<rl...@inautix.co.in>wrote:

> Hi,
> My setup is
> Zookeeper ensemble - running with 3 nodes
> Tomcats - 9 Tomcat instances are brought up, by registereing with
> zookeeper.
>
> Steps :
> 1) I uploaded the solr configuration like db_data_config, solrconfig,
> schema
> xmls into zookeeoper
> 2)  Now, i am trying to create a collection with the collection API like
> below:
>
>
> http://miadevuser001.albridge.com:7021/solr/admin/collections?action=CREATE&name=Schwab_InvACC_Coll&numShards=1&replicationFactor=2&createNodeSet=localhost:7034_solr,localhost:7036_solr&collection.configName=InvestorAccountDomainConfig
>
> Now, when i execute this command, i am getting the following error:
> <response><lst name="responseHeader"><int name="status">500</int><int
> name="QTime">60015</int></lst><lst name="error"><str
> name="msg">createcollection the collection time out:60s</str><str
> name="trace">org.apache.solr.common.SolrException: createcollection the
> collection time out:60s
>         at
>
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:175)
>         at
>
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:156)
>         at
>
> org.apache.solr.handler.admin.CollectionsHandler.handleCreateAction(CollectionsHandler.java:290)
>         at
>
> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:112)
>         at
>
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>         at
>
> org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDispatchFilter.java:611)
>         at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:218)
>         at
>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158)
>         at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>         at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>         at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>         at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>         at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947)
>         at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>         at
>
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
>         at
>
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>         at
>
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> </str><int name="code">500</int></lst></response>
>
> Now after i got this error, i am not able to do any operation on these
> instances with collection API. It is repeteadly giving the same timeout
> error..
> This setup was working fine 5 mins back. suddenly it started throwing this
> exceptions. Any ideas please??
>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Timeout-Errors-while-using-Collections-API-tp4095852.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Grzegorz Sobczyk