incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: NullPointerException in Beta3 and rc1
Date Fri, 10 Dec 2010 03:26:47 GMT
Can you still reproduce this with rc2, after starting with an empty
data and commitlog directory?

There used to be a bug w/ truncate + 2ary indexes but that should be fixed now.

On Thu, Dec 9, 2010 at 8:53 PM, Wenjun Che <wenjun@openf.in> wrote:
> describe_schema_versions()  returns a Map<String, List<String>> with one
> entry.  The key is an UUID and List<String> has one element, which is IP of
> my machine.
>
> I think this has something to do with 'truncate' command in CLI,  I can
> reproduce by:
>
> 1. create a CF with column1 as a secondary index
> 2. add some rows
> 3. truncate the CF
> 4. add some rows and do a query where column1=someValue and
> column2=someValue.  It does not happy if the query just has
> column1=someValue
>
> thanks
>
> On Wed, Dec 8, 2010 at 3:17 PM, Aaron Morton <aaron@thelastpickle.com>
> wrote:
>>
>> Jonathan suggested your cluster has multiple schemas, caused
>> by https://issues.apache.org/jira/browse/CASSANDRA-1824
>> Can you run this API command describe_schema_versions() , it's not listed
>> on the wiki yet but it will tell you how many schema versions are out there.
>> pycassa supports it.
>> Aaron
>>
>> On 09 Dec, 2010,at 08:19 AM, Aaron Morton <aaron@thelastpicklecom> wrote:
>>
>> Please send this to the list rather than me personally.
>> Aaron
>> Begin forwarded message:
>>
>> From: Wenjun Che <wenjun@openf.in>
>> Date: 08 December 2010 4:35:10 PM
>> To: aaron@thelastpickle.com
>> Subject: Re: NullPointerException in Beta3 and rc1
>>
>> I created the CF on beta3 with:
>> create column family RecipientChat with gc_grace=5 and comparator =
>> 'AsciiType' and
>> column_metadata=[{column_name:recipient,validation_class:BytesType,index_type:0}]
>>
>> After I added about 5000 rows, I got the error when querying the CF with
>> recipient='somevalue' and anotherColumn='anotherValue'.
>>
>> I tried truncating the CF and it was still getting the same error.
>>
>> The last thing I tried is upgrading to rc1 and saw the same error.
>>
>> Thanks
>>
>>
>>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message