Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 48535 invoked from network); 12 Mar 2010 17:13:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Mar 2010 17:13:53 -0000 Received: (qmail 99353 invoked by uid 500); 12 Mar 2010 17:13:16 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 99339 invoked by uid 500); 12 Mar 2010 17:13:16 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 99331 invoked by uid 99); 12 Mar 2010 17:13:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 17:13:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bill.w.au@gmail.com designates 74.125.92.144 as permitted sender) Received: from [74.125.92.144] (HELO qw-out-1920.google.com) (74.125.92.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Mar 2010 17:13:09 +0000 Received: by qw-out-1920.google.com with SMTP id 5so508657qwf.54 for ; Fri, 12 Mar 2010 09:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=MmyBHgjlYsYj++ZzqfxRq5rZOciUyQ/fxi9d6lGMBs0=; b=Q/f4m7zS8eEyLQrJbTqeW+Pp3zvk1OBZI05J+UjMeB2fIWEzBE3yMcBdytfbjN4068 pbmbt9USAyLidAc9XAmgi5XPiBaEdFKLIsDCNIagApK56Xw3z/csfuTfe3TdYA8M3Ta0 kqa1YhoOPiNZwBaMqIgKlWyBd+gNF8nHwvdbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ry6eIQBKw0YMpPDHCpWhwxRQvb/Ox2l7UIla3nkAu3WR6E7xvTlbpcn+iwf58/W2TT IRHv/89cUbhPTwlKDqxHhmRKP9Fy16F1rDcjLhWas08juEyqmeHqKJfhGCoUm+Itq/+f rb/p1aORm6JPHDnAuSryHT5vAEBs1KHwrBghc= MIME-Version: 1.0 Received: by 10.220.83.91 with SMTP id e27mr1366611vcl.53.1268413968209; Fri, 12 Mar 2010 09:12:48 -0800 (PST) In-Reply-To: <1268412591.2220.84.camel@erebus.lan> References: <3b5f72031003101509m689281e2scae46f524675be65@mail.gmail.com> <1268331733.2220.25.camel@erebus.lan> <3b5f72031003120821m4c897a81u4dd3ed1fcc5f723e@mail.gmail.com> <1268412591.2220.84.camel@erebus.lan> Date: Fri, 12 Mar 2010 12:12:48 -0500 Message-ID: <3b5f72031003120912r6487e638s93a584bb74e0efce@mail.gmail.com> Subject: Re: problem with running simple example using cassandra-cli with 0.6.0-beta2 From: Bill Au To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0016367f96d200d94304819da451 X-Virus-Checked: Checked by ClamAV on apache.org --0016367f96d200d94304819da451 Content-Type: text/plain; charset=ISO-8859-1 Thanks for clearing this up for me. Bill On Fri, Mar 12, 2010 at 11:49 AM, Eric Evans wrote: > On Fri, 2010-03-12 at 11:21 -0500, Bill Au wrote: > > Thanks. With 0.6.0-beta2 using Standard2 does show a human-readable > > column. > > > > However, the behavior is definitely different between 0.5.1 and > > 0.6.0-beta2. I am using the binary distribution of 0.5.1: > > > > cassandra> show version > > 0.5.1 > > cassandra> set Keyspace1.Standard1['jsmith']['first'] = 'John' > > Value inserted. > > cassandra> set Keyspace1.Standard1['jsmith']['last'] = 'Smith' > > Value inserted. > > cassandra> set Keyspace1.Standard1['jsmith']['age'] = '42' > > Value inserted. > > cassandra> get Keyspace1.Standard1['jsmith'] > > => (column=last, value=Smith, timestamp=1268408466548) > > => (column=first, value=John, timestamp=1268408464036) > > => (column=age, value=42, timestamp=1268408468895) > > Returned 3 results. > > > > With 0.5.1 using Standard1 does show a human-readable column as > > documented > > in the Wiki. > > Right you are, my mistake. This changed in > https://issues.apache.org/jira/browse/CASSANDRA-661 (which occurred > between 0.5 and 0.6). > > > Not sure which one is the correct behavior here. > > The current behavior is correct. I'll update the examples to avoid > future confusion. > > -- > Eric Evans > eevans@rackspace.com > > --0016367f96d200d94304819da451 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for clearing this up for me.

Bill

On Fri, Mar 12, 2010 at 11:49 AM, Eric Evans <<= a href=3D"mailto:eevans@rackspace.com">eevans@rackspace.com> = wrote:
On Fri, 2010-03-12 at 11:21 -0500, Bill Au wrote:
> Thanks. =A0With 0.6.0-beta2 using Standard2 does show a human-readable=
> column.
>
> However, the behavior is definitely different between 0.5.1 and
> 0.6.0-beta2. =A0I am using the binary distribution of 0.5.1:
>
> cassandra> show version
> 0.5.1
> cassandra> set Keyspace1.Standard1['jsmith']['first'= ;] =3D 'John'
> Value inserted.
> cassandra> set Keyspace1.Standard1['jsmith']['last'= ] =3D 'Smith'
> Value inserted.
> cassandra> set Keyspace1.Standard1['jsmith']['age']= =3D '42'
> Value inserted.
> cassandra> get Keyspace1.Standard1['jsmith']
> =3D> (column=3Dlast, value=3DSmith, timestamp=3D1268408466548)
> =3D> (column=3Dfirst, value=3DJohn, timestamp=3D1268408464036)
> =3D> (column=3Dage, value=3D42, timestamp=3D1268408468895)
> Returned 3 results.
>
> With 0.5.1 using Standard1 does show a human-readable column as
> documented
> in the Wiki.

Right you are, my mistake. This changed in
https://issues.apache.org/jira/browse/CASSANDRA-661 (which occur= red
between 0.5 and 0.6).

> Not sure which one is the correct behavior here.

The current behavior is correct. I'll update the examples to avoi= d
future confusion.

--

--0016367f96d200d94304819da451--