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 18D89812C for ; Mon, 8 Aug 2011 20:15:57 +0000 (UTC) Received: (qmail 315 invoked by uid 500); 8 Aug 2011 20:15:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 261 invoked by uid 500); 8 Aug 2011 20:15:54 -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 253 invoked by uid 99); 8 Aug 2011 20:15:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 20:15:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 20:15:49 +0000 Received: by wyg8 with SMTP id 8so317213wyg.31 for ; Mon, 08 Aug 2011 13:15: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:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=QL1uUpohu0U5fce2kHUeA4kgNXiY6d/eLTkggW0vd4c=; b=qs3KsxVuVT8zsVd1GxRiRNoiv5yS5HLwJ7cDihnbMgJwY/B6eRngpaPTuwpiu3+sSj APall8RJ7pwnVk4LSXMc8VzpN4Oi6gE0lYbSL4UTes0xeKL4Sv0KklNM0gW5t07rlAc9 aoTjeJMf/iZNCObhvIFpB/Zq/UwrYGwMhUEhw= Received: by 10.216.82.6 with SMTP id n6mr3482879wee.63.1312834528090; Mon, 08 Aug 2011 13:15:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.58.148 with HTTP; Mon, 8 Aug 2011 13:15:07 -0700 (PDT) In-Reply-To: <65D0E0D9-3C56-4F36-BDCE-8456D172F19E@getjive.com> References: <65D0E0D9-3C56-4F36-BDCE-8456D172F19E@getjive.com> From: Jonathan Ellis Date: Mon, 8 Aug 2011 15:15:07 -0500 Message-ID: Subject: Re: Cannot insert when RF>=2 To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable CLI defaults to NTS. You need to specify SimpleStrategy if that's what you want. https://issues.apache.org/jira/browse/CASSANDRA-2960 On Mon, Aug 8, 2011 at 3:10 PM, Bret Palsson wrote: > Running: apache-cassandra08-0.8.2 > > Attempting to use QUORUM reads and writes only works on a keyspace with R= F =3D 1. With RF set to 2 or 3, the write fails and reads return unavailabl= e. > > These CLI commands will reproduce the issue: > > create keyspace rftest with strategy_options=3D[{replication_factor:2}]; > use rftest; > create column family TestData with comparator =3D UTF8Type; > set TestData[utf8('foo')]['bar'] =3D 'bad'; > > > Here is my ring: > Address =A0 =A0 =A0 =A0 DC =A0 =A0 =A0 =A0 =A0Rack =A0 =A0 =A0 =A0Status = State =A0 Load =A0 =A0 =A0 =A0 =A0 =A0Owns =A0 =A0Token > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 127605887595351923798765477786913079296 > 10.200.99.5 =A0 =A0 datacenter1 rack1 =A0 =A0 =A0 Up =A0 =A0 Normal =A037= 9.48 KB =A0 =A0 =A0 25.00% =A00 > 10.200.99.6 =A0 =A0 datacenter1 rack1 =A0 =A0 =A0 Up =A0 =A0 Normal =A038= 7.3 KB =A0 =A0 =A0 =A025.00% =A042535295865117307932921825928971026432 > 10.200.99.13 =A0 =A0datacenter1 rack1 =A0 =A0 =A0 Up =A0 =A0 Normal =A036= 9.41 KB =A0 =A0 =A0 25.00% =A085070591730234615865843651857942052864 > 10.200.99.14 =A0 =A0datacenter1 rack1 =A0 =A0 =A0 Up =A0 =A0 Normal =A037= 8.17 KB =A0 =A0 =A0 25.00% =A0127605887595351923798765477786913079296 > > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com