Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C1959FA0 for ; Mon, 26 Mar 2012 14:06:52 +0000 (UTC) Received: (qmail 95865 invoked by uid 500); 26 Mar 2012 14:06:49 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 95778 invoked by uid 500); 26 Mar 2012 14:06:49 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 95729 invoked by uid 99); 26 Mar 2012 14:06:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 14:06:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 14:06:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 00D1B347DC6 for ; Mon, 26 Mar 2012 14:06:28 +0000 (UTC) Date: Mon, 26 Mar 2012 14:06:28 +0000 (UTC) From: "Per Steffensen (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1119327041.17446.1332770788005.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1397821058.16892.1332759747390.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3273) 404 Not Found on action=PREPRECOVERY MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238410#comment-13238410 ] Per Steffensen commented on SOLR-3273: -------------------------------------- Thanks a lot. It is ok for us just to use "/admin/cores". We really do not mind. But at least it needs some documentation, or maybe share admin-path in ZK, so that a remote solr can acutally look it up. Well you decide that. Regards, Per Steffensen > 404 Not Found on action=PREPRECOVERY > ------------------------------------ > > Key: SOLR-3273 > URL: https://issues.apache.org/jira/browse/SOLR-3273 > Project: Solr > Issue Type: Bug > Components: SolrCloud > Affects Versions: 4.0 > Environment: Any > Reporter: Per Steffensen > Assignee: Mark Miller > Priority: Minor > > We have an application based on a recent copy of 4.0-SNAPSHOT. We have a preformance test setup where we performance test our application (and therefore indirectly Solr(Cloud)). When we run the performance test against a setup using SolrCloud without replication, everything seems to run very nicely for days. When we add replication to the setup the same performance test shows some problems - which we will report (and maybe help fix) in distinct issues here in jira. > About the setup - the setup is a little more complex than described below, but I believe the description will tell "enough": > We have two solr servers which we start from /example using this command (ZooKeepers have been started before) - we first start solr on server1, and then starts solr on server2 after solr on server1 finished starting up: > {code} > nohup java -Xmx4096m -Dcom.sun.management.jmxremote -DzkHost=server1:2181,server2:2181,server3:2181 -Dbootstrap_confdir=./myapp/conf -Dcollection.configName=myapp_conf -Dsolr.solr.home=./myapp -Djava.util.logging.config.file=logging.properties -jar start.jar >./myapp/logs/stdout.log 2>./myapp/logs/stderr.log & > {code} > The ./myapp/solr.xml looks like this on server1: > {code:xml} > > > > > > > {code} > The ./myapp/solr.xml looks like this on server2: > {code:xml} > > > > > > > {code} > The first thing we observe is that Solr server1 (running collA_slice1_shard1) seems to start up nicely, but when Solr server2 (running collA_slice1_shard2) is started up later it quickly reports the following in its solr.log an keeps doing that for a long time: > {code} > SEVERE: Error while trying to recover:org.apache.solr.common.SolrException: Not Found > request: http://server1:8983/solr/admin/cores?action=PREPRECOVERY&core=collA_slice1_shard1&nodeName=server2%3A8983_solr&coreNodeName=server2%3A8983_solr_collA_slice1_shard2&state=recovering&checkLive=true&pauseFor=6000&wt=javabin&version=2 > at org.apache.solr.common.SolrExceptionPropagationHelper.decodeFromMsg(SolrExceptionPropagationHelper.java:40) > at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:445) > at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:264) > at org.apache.solr.cloud.RecoveryStrategy.sendPrepRecoveryCmd(RecoveryStrategy.java:188) > at org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:285) > at org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:206) > {code} > Please note that we have changed a little bit in the way errors are logged, but basically this means that Solr server2 gets an "404 Not Found" on its request "http://server1:8983/solr/admin/cores?action=PREPRECOVERY&core=collA_slice1_shard1&nodeName=server2%3A8983_solr&coreNodeName=server2%3A8983_solr_collA_slice1_shard2&state=recovering&checkLive=true&pauseFor=6000&wt=javabin&version=2" to Solr server1. > Seems like there is not a common agreement among the Solr servers on how/where to send those requests and how/where to listen for them. > Regards, Per Steffensen -- 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