Re: Set an index on column

2010-12-03 Thread Joshua Partogi
Thanks for the confirmation. Cheers. On Sat, Dec 4, 2010 at 3:34 PM, Jonathan Ellis wrote: > Looks like it was actually after rc1 artifacts were tagged and rolled > (but before it was released). So the fix will be in rc2, or you can > grab the 0.7 branch from svn before then. > > On Fri, Dec 3

Re: Set an index on column

2010-12-03 Thread Jonathan Ellis
Looks like it was actually after rc1 artifacts were tagged and rolled (but before it was released). So the fix will be in rc2, or you can grab the 0.7 branch from svn before then. On Fri, Dec 3, 2010 at 6:44 PM, Tyler Hobbs wrote: > Sounds like 1764: > > https://issues.apache.org/jira/browse/CAS

Re: Set an index on column

2010-12-03 Thread Tyler Hobbs
Sounds like 1764: https://issues.apache.org/jira/browse/CASSANDRA-1764 This was fixed in RC1. - Tyler On Fri, Dec 3, 2010 at 5:43 PM, Joshua Partogi wrote: > Hi Jonathan, > > Thanks for the hint. This is the error that I get: > ERROR [pool-1-thread-1] 2010-12-04 09:38:20,521 Cassandra.java (l

Re: Set an index on column

2010-12-03 Thread Joshua Partogi
Hi Jonathan, Thanks for the hint. This is the error that I get: ERROR [pool-1-thread-1] 2010-12-04 09:38:20,521 Cassandra.java (line 3596) Internal error processing system_update_column_family java.lang.NullPointerException at org.apache.cassandra.config.CFMetaData.apply(CFMetaData.java:665)

Re: Set an index on column

2010-12-03 Thread Jonathan Ellis
"internal error" means "there's an error in the server log" On Fri, Dec 3, 2010 at 2:47 AM, Joshua Partogi wrote: > Hi Jonathan, > > Thanks for the hint. I've tried it but it throws an error like this: > > [defa...@keyspace1] update column family Standard1 with column_metadata=[{ > column_name:us

Re: Set an index on column

2010-12-03 Thread Joshua Partogi
Hi Jonathan, Thanks for the hint. I've tried it but it throws an error like this: [defa...@keyspace1] update column family Standard1 with column_metadata=[{ column_name:user, index_type:0, validation_class:UTF8Type, index_name:Standard1Idx }] and rows_cached=100; Internal error processing system_

Re: Set an index on column

2010-12-02 Thread Jonathan Ellis
It's part of "update column family:" [defa...@unknown] help update column family; ... - column_metadata: Metadata which describes columns of column family. Supported format is [{ k:v, k:v, ... }, { ... }, ...] Valid attributes: column_name, validation_class (see comparator),

Set an index on column

2010-12-02 Thread Joshua Partogi
Hi there, How do I set an index on a column in cassandra 0.7? This is what I am trying to do: [defa...@keyspace1] get Standard1 where user = 'jpartogi'; No indexed columns present in index clause with operator EQ I can not find this in the CLI help nor the wiki. Maybe I am not looking hard enou