Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 46508 invoked from network); 21 Jul 2009 21:46:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jul 2009 21:46:12 -0000 Received: (qmail 32796 invoked by uid 500); 21 Jul 2009 21:47:17 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 32771 invoked by uid 500); 21 Jul 2009 21:47:17 -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 32760 invoked by uid 99); 21 Jul 2009 21:47:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 21:47:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mobiledreamers@gmail.com designates 209.85.132.244 as permitted sender) Received: from [209.85.132.244] (HELO an-out-0708.google.com) (209.85.132.244) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 21:47:07 +0000 Received: by an-out-0708.google.com with SMTP id c38so1500437ana.0 for ; Tue, 21 Jul 2009 14:46:46 -0700 (PDT) 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=3A2uXe6mm+n1vAI438Zdm/6c/YFLQwiV2CRJKpSvQvI=; b=gsKEuuFD3BRu1K9lsQZpM0ndtDs9Du7lWrfiEDnJvgqjB3hAWaOgGsF3UkiIxugqGa cjakJxzMi2NJSQrFMBcRoq1BfKsXYQ25qAo2jX+nzamkC8mMuNixp8LQ9OrKz9wWcSZU eoSRJvxUFH3WZlvR6kDTNsyPi4RM6oY9TkxT0= 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=nGkUFB9/5YpjByrRHKCXooCKsqHT9mEBFk+5z0i2+JFi2p2zO06raVnaAqp12eDHYW TVf/b/hqhMbqjfAyV6/3T4CKYCXVsJuxBlsLeH2rzgfYaGrEjqc1tDI6Txnll0bep93M hqVE3wmCLCwG9m/DWtSG08w5nrdmScybQYiho= MIME-Version: 1.0 Received: by 10.100.205.11 with SMTP id c11mr249327ang.72.1248212806800; Tue, 21 Jul 2009 14:46:46 -0700 (PDT) In-Reply-To: References: <1248197660.27703.103.camel@achilles> Date: Tue, 21 Jul 2009 14:46:46 -0700 Message-ID: Subject: Re: keys and column names cannot be utf-8 From: mobiledreamers@gmail.com To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=001636af0366f416f2046f3e30db X-Virus-Checked: Checked by ClamAV on apache.org --001636af0366f416f2046f3e30db Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit *Strange this happened. in the 4 server nodes that run cassandra, the conf file had**ConfA* * * * *I changed it to the following and doing nodeprobe after restarting cassandra, the other 3 nodes are down,* *ConfB* * * * *If i revert ConfB and set ConfA, all 4 nodes show up in nodeprobe in all the 4 nodes* * * *I m unsure how to debug this* On Tue, Jul 21, 2009 at 2:32 PM, wrote: > if this would be the conf/storage-conf.xml > > FlushPeriodInMinutes="60"/>* > Name="Standard2"/>* > Name="StandardByTime1"/>* > CompareSubcolumnsWith="UTF8Type" *Name="Super1"/> > > Jonathan can you clarify if this will guarantee proper python thrift utf8 > behavior thanks > > On Tue, Jul 21, 2009 at 2:29 PM, Jonathan Ellis wrote: > >> you may also want to specify CompareSubcolumnsWith. >> >> On Tue, Jul 21, 2009 at 4:27 PM, wrote: >> > thanks jonathan >> > trying this >> > >> > >> > On Tue, Jul 21, 2009 at 2:24 PM, Jonathan Ellis >> wrote: >> >> >> >> On Tue, Jul 21, 2009 at 4:21 PM, Jonathan Ellis >> wrote: >> >> >> does this work in python thrift >> >> > >> >> > probably not, given the thrift utf8 bugs. >> >> >> >> to correct myself: now that we are using binary data in the thrift api >> >> it can't screw us over. so yes, UTF8Type should be fine. >> > >> > >> > >> > -- >> > Bidegg worlds best auction site >> > http://bidegg.com >> > >> > > > > -- > Bidegg worlds best auction site > http://bidegg.com > -- Bidegg worlds best auction site http://bidegg.com --001636af0366f416f2046f3e30db Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Strange this happened. in the 4 server nodes that run cassandra, the con= f file had
ConfA
<ColumnFamily ColumnSort=3D&q= uot;Name" Name=3D"Standard1"=A0=A0FlushPeriodInMinutes= =3D"60"/>
<ColumnFamily ColumnSort=3D"Name" =A0Name=3D"Standard2"/&g= t;
<ColumnFamily ColumnSort=3D"Time" =A0Name=3D"StandardByTime1&qu= ot;/>
<ColumnFamily ColumnType=3D"Super" =A0=A0Name=3D"Supe= r1"/>
=
I changed it to the following and doing nodeprobe after= restarting cassandra, the other 3 nodes are down,
= ConfB
<ColumnFamily ColumnSort=3D"Name" Name=3D"Standard1"= =A0=A0CompareWith=3D"UTF8Type"=A0FlushPeriodInMinutes=3D&qu= ot;60"/>
<ColumnFamily ColumnSort=3D"Name"=A0=A0CompareWith=3D"UTF= 8Type"=A0Name=3D"Standard2"/>
<ColumnFamily ColumnSort=3D"Time"=A0=A0CompareWith=3D"UTF= 8Type"=A0Name=3D"StandardByTime1"/>=
<ColumnFamily ColumnType=3D"Super"=A0CompareWith=3D"UTF8T= ype" CompareSubcolumnsWith=3D"UTF8Type"=A0Name=3D"S= uper1"/>

If i revert ConfB and set= ConfA, all 4 nodes show up in nodeprobe in all the 4 nodes
<= b>
I m unsure how to debug this

On Tue, Jul 21, 2009 at 2:32 PM, <mobiledreamers@gmail.com> wrote:
=
if this would be the conf/storage-conf.xml=A0

<ColumnFamily ColumnSort=3D"Name" Name=3D"Standard1"= ;=A0=A0Com= pareWith=3D"UTF8Type"=A0FlushPeriodInMinutes=3D"60"= />
<ColumnFamily ColumnSort=3D"Name"=A0=A0CompareWith=3D"UTF8Type= "=A0Name=3D"Standard2"/>
<ColumnFamily ColumnSort=3D"Time"=A0=A0CompareWith=3D"UTF8Type= "=A0Name=3D"StandardByTime1"/>
<ColumnFamily ColumnType=3D"Super"=A0CompareWith=3D"UTF8Type" CompareS= ubcolumnsWith=3D"UTF8Type"=A0Name=3D"Super1"/>

Jonathan can you clarify if this will guarantee proper = python thrift utf8 behavior thanks
<= br>
On Tue, Jul 21, 2009 at 2:29 PM, Jonathan Ell= is <jbellis@gmail.com> wrote:
you may also want to specify CompareSubcolum= nsWith.

On Tue, Jul 21, 2009 at 4:27 PM, <mobiledreamers@gmail.com> wrote:
> thanks jonathan
> trying this
> <ColumnFamily ColumnType=3D"Super"=A0CompareWith=3D"= UTF8Type"=A0Name=3D"Super1"/>
>
> On Tue, Jul 21, 2009 at 2:24 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
>>
>> On Tue, Jul 21, 2009 at 4:21 PM, Jonathan Ellis<jbellis@gmail.com> wrote: >> >> does this work in python thrift
>> >
>> > probably not, given the thrift utf8 bugs.
>>
>> to correct myself: now that we are using binary data in the thrift= api
>> it can't screw us over. =A0so yes, UTF8Type should be fine. >
>
>
> --
> Bidegg worlds best auction site
> http://bidegg.com<= br> >



--
Bidegg worlds best auction site
http://bidegg.com



--
Bidegg worl= ds best auction site
http://bidegg.com=
--001636af0366f416f2046f3e30db--