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 77AAD4712 for ; Tue, 5 Jul 2011 15:37:40 +0000 (UTC) Received: (qmail 83027 invoked by uid 500); 5 Jul 2011 15:37:38 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 82920 invoked by uid 500); 5 Jul 2011 15:37:37 -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 82912 invoked by uid 99); 5 Jul 2011 15:37:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 15:37:37 +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.42 as permitted sender) Received: from [74.125.82.42] (HELO mail-ww0-f42.google.com) (74.125.82.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 15:37:32 +0000 Received: by wwg11 with SMTP id 11so2385459wwg.1 for ; Tue, 05 Jul 2011 08:37:11 -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=4XOFg0xHn72DBwJNTNh2PCF9XUFAwqAtaUxFWtHRbyQ=; b=oeO70S97FWXEQ3xgoUA7ocBeVliZZ6EN6G2B3AdyDYPHYAImuOatNAFl0bGV3VvHVR traFpgxqpongZg9IY1amL5w/jiRLM42bEYisHm2Ayj4CwyBZ238/STV1CBwEywxfv5Mh mcoy0PDB22xeX0beoNkpfPIYPTNQa22G59rNA= Received: by 10.216.50.2 with SMTP id y2mr6104565web.77.1309880230088; Tue, 05 Jul 2011 08:37:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.38.85 with HTTP; Tue, 5 Jul 2011 08:35:51 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Tue, 5 Jul 2011 10:35:51 -0500 Message-ID: Subject: Re: cql error To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable replace the s_o line with and strategy_options:DC1=3D1 and strategy_options:DC2=3D2 On Tue, Jul 5, 2011 at 10:09 AM, A J wrote: > cqlsh> CREATE KEYSPACE twissandra with > =A0 ... =A0 strategy_class =3D > =A0 ... =A0 =A0 'org.apache.cassandra.locator.NetworkTopologyStrategy' > =A0 ... =A0 and strategy_options=3D[{DC1:1, =A0DC2:1}]; > Bad Request: line 4:37 no viable alternative at character ']' > > > What is wrong with the above syntax ? > > Thanks. > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com