cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: keys and column names cannot be utf-8
Date Tue, 21 Jul 2009 22:04:27 GMT
did you check to make sure all the nodes were running and had no
exceptions in their logs?

On Tue, Jul 21, 2009 at 4:46 PM, <mobiledreamers@gmail.com> wrote:
> Strange this happened. in the 4 server nodes that run cassandra, the conf
> file had
> ConfA
> <ColumnFamily ColumnSort="Name"
> Name="Standard1"  FlushPeriodInMinutes="60"/>
> <ColumnFamily ColumnSort="Name"  Name="Standard2"/>
> <ColumnFamily ColumnSort="Time"  Name="StandardByTime1"/>
> <ColumnFamily ColumnType="Super"   Name="Super1"/>
> I changed it to the following and doing nodeprobe after restarting
> cassandra, the other 3 nodes are down,
> ConfB
> <ColumnFamily ColumnSort="Name"
> Name="Standard1"  CompareWith="UTF8Type" FlushPeriodInMinutes="60"/>
> <ColumnFamily ColumnSort="Name"  CompareWith="UTF8Type" Name="Standard2"/>
> <ColumnFamily
> ColumnSort="Time"  CompareWith="UTF8Type" Name="StandardByTime1"/>
> <ColumnFamily ColumnType="Super" CompareWith="UTF8Type"
> CompareSubcolumnsWith="UTF8Type" Name="Super1"/>
> 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, <mobiledreamers@gmail.com> wrote:
>>
>> if this would be the conf/storage-conf.xml
>> <ColumnFamily ColumnSort="Name"
>> Name="Standard1"  CompareWith="UTF8Type" FlushPeriodInMinutes="60"/>
>> <ColumnFamily ColumnSort="Name"  CompareWith="UTF8Type" Name="Standard2"/>
>> <ColumnFamily
>> ColumnSort="Time"  CompareWith="UTF8Type" Name="StandardByTime1"/>
>> <ColumnFamily ColumnType="Super" CompareWith="UTF8Type"
>> 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 <jbellis@gmail.com> wrote:
>>>
>>> you may also want to specify CompareSubcolumnsWith.
>>>
>>> On Tue, Jul 21, 2009 at 4:27 PM, <mobiledreamers@gmail.com> wrote:
>>> > thanks jonathan
>>> > trying this
>>> > <ColumnFamily ColumnType="Super" CompareWith="UTF8Type" Name="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.  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
>

Mime
View raw message