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 DB716CD9F for ; Sun, 6 May 2012 10:22:22 +0000 (UTC) Received: (qmail 58686 invoked by uid 500); 6 May 2012 10:22:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58644 invoked by uid 500); 6 May 2012 10:22:20 -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 58635 invoked by uid 99); 6 May 2012 10:22:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 10:22:20 +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 (nike.apache.org: domain of cyril.auburtin@gmail.com designates 209.85.160.170 as permitted sender) Received: from [209.85.160.170] (HELO mail-gy0-f170.google.com) (209.85.160.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 May 2012 10:22:13 +0000 Received: by ghbg2 with SMTP id g2so2178848ghb.29 for ; Sun, 06 May 2012 03:21:52 -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=fG1RHZMF6tPSy8pAZevoCNBy5iXa5T270kqxr+0HxhY=; b=S2pLuJc+pvrgEXY97LbQjzX+Ra9sQb3W2HBSXIGAMQk0j2IkRsg6DXcQQZkiL2MQRh xfGXzFR/0I+WJ1C1v2OOJvAT0ZGFtDsgcn6s3s0fgYPZB5xdkOHlh96M+5gP144BfPhO pW7VEsAkfDQszx5/250GZ2mLduJIjKxqDkbERGkF0Ak0rFn9xikXuw4NWogpmXv69YgC saBeArbVuRZTyJysyTRqxsWDhrEVq5F8jkOzWgjZmcQeq3wSTIBIBqFiUNLCmthVbB20 deCHc/ouaqydbQjjrG21UaaHiAnNThKq1Sh3btL9CeGdF+4qU0Mv5btS0pQO/2tHtsNy ydtA== Received: by 10.236.153.104 with SMTP id e68mr15044131yhk.36.1336299712752; Sun, 06 May 2012 03:21:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.32.7 with HTTP; Sun, 6 May 2012 03:21:32 -0700 (PDT) In-Reply-To: References: <002a01cd2b69$333368a0$999a39e0$@net> From: cyril auburtin Date: Sun, 6 May 2012 12:21:32 +0200 Message-ID: Subject: Re: creating keyspace with 1.1 To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf302efd5eb12ac104bf5b8516 --20cf302efd5eb12ac104bf5b8516 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable and one more thing For migration 0.7.10 ->1.1 I had to remove rows_cached, keys_cached, and key_cache_save_period from CF declarations? What would it change for my application create column family Application with column_type =3D 'Standard' and comparator =3D 'UTF8Type' and rows_cached =3D 100.0 and keys_cached =3D 100= 0.0 and key_cache_save_period =3D 3600; 2012/5/6 cyril auburtin > 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.currentTimeMilli= s()); > > 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**** >> > > --20cf302efd5eb12ac104bf5b8516 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable and one more thing

For migration 0.7.10 ->1.1
I had to remove rows_cached,=A0keys_cached, and=A0key_cache_save_period = from CF declarations?
What would it change for my application

create column family Application with column_type =3D &= #39;Standard' and comparator =3D 'UTF8Type' and rows_cached =3D= 100.0 and keys_cached =3D 1000.0 and key_cache_save_period =3D 3600;
=

2012/5/6 cyril auburtin <cyril.auburtin@= gmail.com>
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

<= /div>

I have just installed cassandra 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



--20cf302efd5eb12ac104bf5b8516--