You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Lewis Liu (JIRA)" <ji...@apache.org> on 2014/08/11 11:28:12 UTC

[jira] [Commented] (SOLR-6361) /admin/collection API reload action is not work. --Got timeout excpetion

    [ https://issues.apache.org/jira/browse/SOLR-6361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092608#comment-14092608 ] 

Lewis Liu commented on SOLR-6361:
---------------------------------

I just go over the sourcecode,  The backend should process the reload request and populate the processing result into this node /overseer/collection-queue-work/qnr-0000000068. Whereas the final result is this node be deleted.



> /admin/collection API reload action is not work. --Got timeout excpetion
> ------------------------------------------------------------------------
>
>                 Key: SOLR-6361
>                 URL: https://issues.apache.org/jira/browse/SOLR-6361
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 4.9
>         Environment: Ubuntu 10.04+Jdk 1.7_55 
> One Zookeeper + Two shards
>            Reporter: Lewis Liu
>            Priority: Critical
>              Labels: /admin/collections?action=reload
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> I just updated the schema.xml and uploaded into zookeeper, I want to make all shards effecitve immediately ,So i call the api /solr/admin/collections?action=reload&name=collection4,  After 3 minutes i got 
> exception like this:
> org.apache.solr.common.SolrException: reloadcollection the collection time out:180s
> 	at org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:368)
> 	at org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:320)
> 	at 
> I checked the log ,Found these log
> [2014-08-11 17:19:55,227] [main-SendThread(localhost:2181)] DEBUG org.apache.zookeeper.ClientCnxn  - Got WatchedEvent state:SyncConnected type:NodeDeleted path:/overseer/collection-queue-work/qnr-0000000068 for sessionid 0x147c387a9b3000b
> [2014-08-11 17:19:55,227] [main-EventThread] INFO  org.apache.solr.cloud.DistributedQueue  - LatchChildWatcher fired on path: /overseer/collection-queue-work/qnr-0000000068 state: SyncConnected type NodeDeleted



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org