From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [Patch 2/7] tabled: add element Date: Wed, 20 Jan 2010 14:51:08 -0500 Message-ID: <4B575EAC.4040609@garzik.org> References: <20100114211126.79c3fd91@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=J6mPaONqLaRUSoVIySV9Ysz0TVN+PZB74UAsOg1Rd/g=; b=mAqerRBWBG3HVN7B2qv3ErCKPWSwt7DZ+f/E8sYjicokeypzxR5bfjOlaUCnAFAUmY WKuJQfCpHBqR7PSFpiEN+4VPIhDhFZdaVXOkpFf6mNdwfkRFyJc8KcVq9lLn+dgQLsJo Lab6sR9zXrRZxFAbCsMjcI4YVeRacs6+w8Q7I= In-Reply-To: <20100114211126.79c3fd91@redhat.com> Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Pete Zaitcev Cc: Project Hail List On 01/14/2010 11:11 PM, Pete Zaitcev wrote: > Make the cell configurable. Among other things we need this for is > that you cannot migrate a tabled over when DB format changes, short > of running 2 CLDs. > > We also add a few thoughts to the documentation, prompted by re-reading > of the document while adding the clause for. > > Signed-Off-By: Pete Zaitcev > > --- > doc/etc.tabled.conf | 7 +++++++ > doc/setup.txt | 40 +++++++++++++++++++++++++++++++++++++--- > server/cldu.c | 4 ++++ > server/config.c | 11 +++++++++++ > server/server.c | 2 +- > server/tabled.h | 1 + > 6 files changed, 61 insertions(+), 4 deletions(-) Strictly speaking, this is wrong, but I applied so that we may make forward progress. The definition of a "cell" (or "cel") is everything within a single CLD namespace. It is a design requirement that any number of separate tabled instances may be run within a single cell. The differentiating factor is pathname. Thus, one tabled instance may store files in cld://cld.mysite.com/table1/ and a totally separate, parallel instance of table may store its files in cld://cld.mysite.com/table2/ Provisioning another tabled instance should be as simple as creating a new directory in CLD, and running the tabled/chunkd nodes. Thus, the user interface should be CLD hostname + pathname, not "cell name." Jeff