Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 87758 invoked from network); 19 Nov 2010 07:27:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Nov 2010 07:27:04 -0000 Received: (qmail 16249 invoked by uid 500); 19 Nov 2010 07:27:34 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16176 invoked by uid 500); 19 Nov 2010 07:27:34 -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 16168 invoked by uid 99); 19 Nov 2010 07:27:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 07:27:33 +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 hnxiejl@gmail.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-iw0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 07:27:27 +0000 Received: by iwn40 with SMTP id 40so4687020iwn.31 for ; Thu, 18 Nov 2010 23:27:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=ejEmWeUM+FgB/STWSS3ZSOes2740Npibgr5dKbkyuPo=; b=d7EDq1fa6I6uP5FuUYBJEp9VhohNOc8SKUgT+atThrCpCTS4atLRpHKXlzVZsNp410 8x170Ar2HhpvFUFLR7/U9oK1ZNwK0U7zt9x6wW24+3Bph0X2dwg7XTvddCNkvkmwACDr WFVLhbZhgdhBHdY4i1m5DJRyBLVdJ+YBir63A= 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=So6xeF/31UzthaNScaXw7zKFXa3r9+Jxoc+bhCILRvPWKTG0ql9VGRwzaM8HluLG3n Ry5ROc1zAEktrzPzSA6FpRuLqrzfuButpd9aKPhp6sNYRRGzfcMKMTC74wQ2yPGhXvh6 KJDu6vajkE9GYcEUgsqyIKuPXcGS8w8HzSWb4= MIME-Version: 1.0 Received: by 10.231.35.8 with SMTP id n8mr1722793ibd.73.1290151625958; Thu, 18 Nov 2010 23:27:05 -0800 (PST) Received: by 10.231.32.201 with HTTP; Thu, 18 Nov 2010 23:27:05 -0800 (PST) In-Reply-To: References: Date: Fri, 19 Nov 2010 15:27:05 +0800 Message-ID: Subject: Re: how to display column value in human-readable format in 0.7 beta3 From: xie jinlin To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0022150482bb5f24c2049562d561 X-Virus-Checked: Checked by ClamAV on apache.org --0022150482bb5f24c2049562d561 Content-Type: text/plain; charset=ISO-8859-1 thanks. this is detail info. ColumnFamily: PostInbox (Super) Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type/org.apache.cassandra.db.marshal.UTF8Type Subcolumns sorted by: org.apache.cassandra.db.marshal.UTF8Type Row cache size / save period: 0.0/0 Key cache size / save period: 200000.0/3600 Memtable thresholds: 0.571875/122/60 GC grace seconds: 864000 Compaction min/max thresholds: 4/32 get PostInbox['1Ww9DAaR4t0A6L'] as UTF8Type => (super_column=total_unread, (column=2WwADF3V3A0A5b, value=3157774143474948446e30413435, timestamp=1286949750195000)) 2010/11/19 Aaron Morton > Not sure how you are reading the data, but try setting the comparator to > ASCII or similar. This will tell Cassandra that the column names are > strings. > > Aaron > > > On 19/11/2010, at 4:47 PM, xie jinlin wrote: > > Hi: > I get column value from cassandra 0.6 as " (column=2WwADF3V3A0A5b, > value=1WwACGIHDn0A45, timestamp=1286949750195000))" format > but get " (column=2WwADF3V3A0A5b, value=3157774143474948446e30413435, > timestamp=1286949750195000))" from 0.7 beta3 > how can I get the column value in human-readable format as like as > from cassandra 0.6 in 0.7 beta3 > > > > > > > > > Best Regards. > > > > --0022150482bb5f24c2049562d561 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable thanks.
this is detail info.

ColumnFamily= : PostInbox (Super)
=A0=A0 =A0 =A0Columns sorted by: org.apache.c= assandra.db.marshal.UTF8Type/org.apache.cassandra.db.marshal.UTF8Type
=
=A0=A0 =A0 =A0Subcolumns sorted by: org.apache.cassandra.db.marshal.UTF8Typ= e
=A0=A0 =A0 =A0Row cache size / save period: 0.0/0
=A0= =A0 =A0 =A0Key cache size / save period: 200000.0/3600
=A0=A0 =A0= =A0Memtable thresholds: 0.571875/122/60
=A0=A0 =A0 =A0GC grace seconds: 864000
=A0=A0 =A0 =A0Compact= ion min/max thresholds: 4/32


g= et PostInbox['1Ww9DAaR4t0A6L'] as UTF8Type
=3D> (super= _column=3Dtotal_unread,
=A0=A0 =A0 (column=3D2WwADF3V3A0A5b, value=3D3157774143474948446e30413= 435, timestamp=3D1286949750195000))

--0022150482bb5f24c2049562d561--