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 457E9CD65 for ; Sun, 6 May 2012 10:06:11 +0000 (UTC) Received: (qmail 28716 invoked by uid 500); 6 May 2012 10:06:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 28653 invoked by uid 500); 6 May 2012 10:06:08 -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 28643 invoked by uid 99); 6 May 2012 10:06:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 10:06:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cyril.auburtin@gmail.com designates 209.85.213.44 as permitted sender) Received: from [209.85.213.44] (HELO mail-yw0-f44.google.com) (209.85.213.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 10:06:03 +0000 Received: by yhq56 with SMTP id 56so4375964yhq.31 for ; Sun, 06 May 2012 03:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=IOycen1o9XwocKqHJyteeI5R0d/JQs+PF+sBExe0j+g=; b=h7zz/bG15mQcloZsyAjxj4BWd9Wb+ItEXq1mHpKqYMjZnwuC99BbfMHQEHXJ4ywqEG i60FiInyrNqXuIVBrfSqIwDTGa6sZZULkfB3U7jPJHzO8ryFan3QolocxQMNN38mjCx6 fnL24tg0XLDT+Vzb/Z8xq3XQ11HG1IoXEkG2pn2jWf0uGwIeSaqKz+wMf2EBsEkLn+Q1 a1lt/OdHHfBgqbHStZI5XYp8tgv3m+hKkJI909OJ6pgqaQD1cZipYn3PIjnKUkZCIER1 TNIpRtP02FJdQi5n3ZcMSqNLhDgeNQvWBOl5kiw3zv3Gwed1kYYT3HXrTdVx8g7Szbkg Aa4w== Received: by 10.236.73.72 with SMTP id u48mr14738825yhd.77.1336298742707; Sun, 06 May 2012 03:05:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.32.7 with HTTP; Sun, 6 May 2012 03:05:22 -0700 (PDT) In-Reply-To: <002a01cd2b69$333368a0$999a39e0$@net> References: <002a01cd2b69$333368a0$999a39e0$@net> From: cyril auburtin Date: Sun, 6 May 2012 12:05:22 +0200 Message-ID: Subject: Re: creating keyspace with 1.1 To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf30051416df74d204bf5b4b40 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30051416df74d204bf5b4b40 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable thx Other question (I'm moving from cassandra 0.7.10 to 1.1) the class org.apache.cassandra.thrift.Column.Column 's constructor arguments is now just name instead of (name, value, timestamp) So it should be called like this? new Column(myColumnName).setValue(myVal).setTimestamp(System.currentTimeMillis(= )); Larger.. , but no choice 2012/5/6 Pierre Chalamet > Hi,**** > > ** ** > > I bet you are using cql commands in cassandra-cli.**** > > ** ** > > If you are using cli, use instead:**** > > create keyspace Excelsior with placement_strategy=3D=92SimpleStrategy=92 = and > strategy_options =3D [{replication_factor:1}]**** > > ** ** > > ** ** > > *From:* cyril auburtin [mailto:cyril.auburtin@gmail.com] > *Sent:* Sunday, May 06, 2012 10:31 AM > *To:* user@cassandra.apache.org > *Subject:* creating keyspace with 1.1**** > > ** ** > > Hello**** > > ** ** > > I have just installed cassandra 1.1**** > > ** ** > > CREATE KEYSPACE Excelsior WITH strategy_class =3D 'SimpleStrategy' AND > strategy_options:replication_factor =3D 1;**** > > ** ** > > gives this error:**** > > ** ** > > Syntax error at position 85: mismatched input ':' expecting '=3D'**** > > ** ** > > I've looked in changes but didn't found **** > > Thanks**** > --20cf30051416df74d204bf5b4b40 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable thx

Other question

(I'm mov= ing from cassandra 0.7.10 to 1.1)

the class=A0org.= apache.cassandra.thrift.Column.Column 's constructor arguments is now j= ust name instead of (name, value, timestamp)

So it should be called like this?

<= div>new Column(myColumnName).setValue(myVal).setTimestamp(System.currentTim= eMillis());

Larger.. , but no choice



2012/5/6 Pierr= e Chalamet <pierre@chalamet.net>

Hi,

=A0

I bet you are u= sing cql commands in cassandra-cli.

=A0=

If you are using cli, use instead:

create key= space Excelsior with placement_strategy=3D=92SimpleStrategy=92 and strategy= _options =3D [{replication_factor:1}]

=A0=

=A0

From:<= /b> cyril auburtin [mailto:cyril.auburtin@gmail.com]
Sent: Sunday, May 06, 2012 10:31 AM
To: user@cassandra.apache.org<= br>Subject: creating keyspace with 1.1

=A0

Hello

= =A0

I have just installed cassa= ndra 1.1

=A0

=A0CREATE KEYSPACE Excelsior WITH strategy_class =3D = 9;SimpleStrategy'=A0AND strategy_options:replication_factor =3D 1;

=A0

gives this error:

=A0

Synta= x error at position 85: mismatched input ':' expecting '=3D'= ;

=A0

I've looked in changes but didn't found=A0=

Thanks


--20cf30051416df74d204bf5b4b40--