Return-Path: X-Original-To: apmail-cassandra-dev-archive@www.apache.org Delivered-To: apmail-cassandra-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 93DE3DBAD for ; Thu, 23 May 2013 00:52:36 +0000 (UTC) Received: (qmail 4412 invoked by uid 500); 23 May 2013 00:52:35 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 4386 invoked by uid 500); 23 May 2013 00:52:35 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 4377 invoked by uid 99); 23 May 2013 00:52:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 May 2013 00:52:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.212.254] (HELO nm15-vm0.bullet.mail.bf1.yahoo.com) (98.139.212.254) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 May 2013 00:52:28 +0000 Received: from [98.139.212.145] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 23 May 2013 00:52:07 -0000 Received: from [98.139.212.244] by tm2.bullet.mail.bf1.yahoo.com with NNFMP; 23 May 2013 00:52:07 -0000 Received: from [127.0.0.1] by omp1053.mail.bf1.yahoo.com with NNFMP; 23 May 2013 00:52:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 195207.50627.bm@omp1053.mail.bf1.yahoo.com Received: (qmail 84684 invoked by uid 60001); 23 May 2013 00:52:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369270327; bh=pKGefr9V0OjOePhifqBw+RN5k8ATggkIWSGzYo6A/uE=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=B7bqylCzMMcs5lykAeaeYlIfY26me8dpHfgflahEGHFryyRsaiPRoCvPAkSy//T0tCGKc+wP152SP4gF33LZRRN+nQzkz6+xs0j2duc+x7quch7dY0hFsWkfM+lxWsxtmEaGgVsAv9gDsRaxF/S70HdWwOOUWk5qmOs2iwGxz3w= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=aiGIEX0LCK9Ajv2iiMe8CRTnLmTnkWn/zxIoWQojLb+QWsxcQSV7vV5JewHOpEA2UISKt3K8TSSAlglMWV4/EbVUgFx33VK3nwKDaEKqkEKEpmCvIsPQ3SlRKOHe5z7UFFzi/QlUNs8+MIh4m6+kuUJymI2p1kW7ndmI1TVdB54=; X-YMail-OSG: N1.KsV8VM1kaKwWV445i6IL11V7fzMhQvJPk_n_h.UhMIVZ HpvE2aWVDnTsziSY4leygD0a.RRV2XW2fwrP1OhLjSTK2cKYCGisfMUzuX.Z 1l8D5OKYYZgx2kDq_sRbYyOS2812OOYhChbG866bKx6gWb_fS3NezBSoihbg cjM0A5.5SkOMYo_lw1X.f7k8IovnJMSP7cl4Jk6TI3rH87QFHfbZGdbskOyu UxgUH3W99f5YCZrGuLfp4hFPWYI5TBGCbVq_CuOfQeKNdCqxsxIxqyuCP4Af zKjEzTQKAnuHF4jGMPqu0DqFvN.oiXrDKmQ2_oYJVObAxtnGi15Qp7XadLkk BiDC7dpsDONlsKmOa3PR730_4WUT6rHxxHXOQSiBgwILO8PWam_KuC4OwW2E 0tBKslCI062v0BM9wa.T2GXXjcV8o334kkz6YdBSmBxbzwK8Cyrr2jUczvt. MmxTnpvLtRI3IupfKIedJebBpTdKqmV58tjm7.rNoullQUjuc3guBNEMTgwD 0dt0f1kDuNJzzNIi0fRmREY5bkCO9Ukw- Received: from [198.95.226.40] by web162004.mail.bf1.yahoo.com via HTTP; Wed, 22 May 2013 17:52:07 PDT X-Rocket-MIMEInfo: 002.001,SGkgYWxsLAoKCgpJIGFtIGltcGxlbWVudGluZyBhIGRpc3RyaWJ1dGVkIGFwcGxpY2F0aW9uIHdoaWNoIHJ1bnMgb24gMTAwcyBvZiBtYWNoaW5lcyBjb25jdXJyZW50bHkuIFRoaXMgYXBwbGljYXRpb24gaXMgZ29pbmcgdG8gdXNlIENhc3NhbmRyYSBhcyB1bmRlcmxheWluZyBzdG9yYWdlLgoKVGhlIGFwcGxpY2F0aW9uIGNyZWF0ZXPCoHRoZSBzY2hlbWEgKG5hbWUgc3BhY2UgYW5kIGNvbHVtbiBmYW1pbGllcykgZHVyaW5nIGluaXRpYWxpemF0aW9uIHBoYXNlLiDCoEl0IHNlZW1zIEkgaGF2ZSB0d28gb3ABMAEBAQE- X-Mailer: YahooMailWebService/0.8.142.542 References: <1369269068.93510.YahooMailNeo@web162006.mail.bf1.yahoo.com> Message-ID: <1369270327.84328.YahooMailNeo@web162004.mail.bf1.yahoo.com> Date: Wed, 22 May 2013 17:52:07 -0700 (PDT) From: Emalayan Vairavanathan Reply-To: Emalayan Vairavanathan Subject: Creating namespace and column family from multiple nodes concurrently To: "dev@cassandra.apache.org" In-Reply-To: <1369269068.93510.YahooMailNeo@web162006.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="989092850-753281739-1369270327=:84328" X-Virus-Checked: Checked by ClamAV on apache.org --989092850-753281739-1369270327=:84328 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,=0A=0A=0A=0AI am implementing a distributed application which runs o= n 100s of machines concurrently. This application is going to use Cassandra= as underlaying storage.=0A=0AThe application creates=A0the schema (name sp= ace and column families) during initialization phase. =A0It seems I have tw= o options to create the schema.=0A=0AOption - 1 : Using a single node for s= chema creation.=0A=A0 =A0 =A0 =A0 Option - 2: Having all the nodes (> 100) = to run the same schema creation logic (First, nodes will check whether the = schema is already available and then try to create the schema if it is not = available already). =A0=0A=0ATo keep the initialization phase simple, I pre= fer to go for Option - 2. However I am not sure how Cassandra is going to b= ehave if multiple nodes try to create the same schema (namespace and column= families) concurrently. It would be nice if someone can tell me about the = implications of Option - 2 with Cassandra version 1.2.2.=0A=0APlease let me= know if you have question.=0A=0AThank you=0AVE --989092850-753281739-1369270327=:84328--