Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E247B7CD2 for ; Fri, 2 Sep 2011 17:53:58 +0000 (UTC) Received: (qmail 11152 invoked by uid 500); 2 Sep 2011 17:53:56 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 10968 invoked by uid 500); 2 Sep 2011 17:53:55 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 10958 invoked by uid 99); 2 Sep 2011 17:53:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 17:53:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anthony.ikeda.dev@gmail.com designates 74.125.83.44 as permitted sender) Received: from [74.125.83.44] (HELO mail-gw0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 17:53:49 +0000 Received: by gwb20 with SMTP id 20so2259679gwb.31 for ; Fri, 02 Sep 2011 10:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fKWbvGa8FJYhezjfSgx2z3jYtNc6DeG5vOFH7An9kcg=; b=Ouxda3PZ0Ac4ykcO8wbA1Sk2tSQr+JCSKk4y4hfP8sV3AoL6yO3vRVYo6mVxLDxkzC lpUp1o2RlY42PdMdiIsFLtg2tCGvwkkU6b6MHNEnMZusXwF3PUzo1M8xhSYDOLaTcBnk wBwBIvyv/YTK3AVFRpUjWUFl3MuFvystpzr00= MIME-Version: 1.0 Received: by 10.236.78.200 with SMTP id g48mr7510177yhe.12.1314986008442; Fri, 02 Sep 2011 10:53:28 -0700 (PDT) Received: by 10.236.109.135 with HTTP; Fri, 2 Sep 2011 10:53:28 -0700 (PDT) In-Reply-To: References: Date: Fri, 2 Sep 2011 10:53:28 -0700 Message-ID: Subject: Re: Trying to understand QUORUM and Strategies From: Anthony Ikeda To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf300fb307eaf75104abf90956 X-Virus-Checked: Checked by ClamAV on apache.org --20cf300fb307eaf75104abf90956 Content-Type: text/plain; charset=ISO-8859-1 Okay, great I just wanted to confirm that LOCAL_QUORUM will not work with SimpleStrategy. There was somewhat of a debate amongst my devs that said it should work. Anthon On Fri, Sep 2, 2011 at 9:55 AM, Evgeniy Ryabitskiy < evgeniy.ryabitskiy@wikimart.ru> wrote: > So. > You have created keyspace with SimpleStrategy. > If you want to use *LOCAL_QUORUM, *you should create keyspace (or change > existing) with NetworkTopologyStrategy. > > I have provided CLI examples on how to do it. If you are creating keyspace > from Hector, you have to do same via Java API. > > Evgeny. > > > --20cf300fb307eaf75104abf90956 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Okay, great I just wanted to confirm that LOCAL_QUORUM will not work with S= impleStrategy. There was somewhat of a debate amongst my devs that said it = should work.

Anthon


On Fri, Sep 2, 2011 at 9:55 AM, Evgeniy Ryabitskiy <evgeniy.ryabitskiy@wikimart= .ru> wrote:
So.
You have created keyspace with SimpleStrategy.
If you want to use= LOCAL_QUORUM, you should create keyspace (or change existing) with = NetworkTopologyStrategy.

I have provided CLI examples on how to do i= t. If you are creating keyspace from Hector, you have to do same via Java A= PI.

Evgeny.



--20cf300fb307eaf75104abf90956--