Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 19172 invoked from network); 15 Jul 2009 14:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jul 2009 14:06:53 -0000 Received: (qmail 47993 invoked by uid 500); 15 Jul 2009 14:07:02 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 47914 invoked by uid 500); 15 Jul 2009 14:07:02 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 47903 invoked by uid 99); 15 Jul 2009 14:07:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 14:07:02 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.83] (HELO spunkymail-a18.g.dreamhost.com) (208.97.132.83) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2009 14:06:51 +0000 Received: from [192.168.0.101] (adsl-065-013-152-164.sip.rdu.bellsouth.net [65.13.152.164]) by spunkymail-a18.g.dreamhost.com (Postfix) with ESMTP id D743E5B52C for ; Wed, 15 Jul 2009 07:06:30 -0700 (PDT) Message-Id: From: Grant Ingersoll To: solr-dev@lucene.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: SOLR automatic failover Date: Wed, 15 Jul 2009 10:06:30 -0400 References: <85d3c3b60907131626j7ce281f1h3416ccb1e22e8bb2@mail.gmail.com> <5e76b0ad0907132128q796892e6kb6348fe5be086036@mail.gmail.com> <85d3c3b60907132240q4a7b035blfa8a047f70f5ee02@mail.gmail.com> <23F248CD-37AC-4712-B39F-41B9B8B5FBA5@opensourceconnections.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org I've got some ZooKeeper work that I did on the plane the other day that I haven't had the time to write up just yet. I've got the start for: 1. Automatic setting of Shards param for distributed search and new shards can automatically register themselves and be added to the mix (this is the furthest along, but is dependent on the firstSearcher/ newSearcher problem with distributed search that I mentioned in a diff. thread) 2. Start on way to bring replicants and masters on and offline and do rebalancing 3. RequestHandler based administration to add/delete/list/status ZooKeeper and it's information I think the nice thing about all of it is it pretty much works seamlessly with existing Solr components and request handlers. I need to bring the patch up to date and fill in a couple of pieces, but will post soon as a start. -Grant On Jul 14, 2009, at 12:12 PM, Yonik Seeley wrote: > On Tue, Jul 14, 2009 at 11:49 AM, Eric > Pugh wrote: >> Isn't the pool of slave Solr's behind a load balancer similar to SOLR >> automatic failover? Guess I am not sure what you mean? Seems like >> what >> ZooKeeper does >> (http://hadoop.apache.org/zookeeper/docs/current/ >> zookeeperOver.html) is >> analogous to the Solr master/pool of slave servers. > > Right now, the task of keeping track of what servers are in a cluster > and what data they have is pushed off to the user. > Zookeeper would keep track of that (and would also serve as a single > point of configuration). > > Wouldn't it be nice to be able to start up another server like so: > java -jar start.jar -Dcluster_id=foo > > And just have everything work (no updating loadbalancer configuration, > other clients, etc). > > Then there is master failover - a somewhat harder problem... or very > much harder, depending on how one approaches it. > > -Yonik > http://www.lucidimagination.com -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene: http://www.lucidimagination.com/search