Re: problem in create column family

2012-03-31 Thread puneet loya
thank u *:))* On Sat, Mar 31, 2012 at 4:51 AM, aaron morton wrote: > This works… > > > create column family student > with comparator = 'AsciiType' > and column_metadata = > [{ > column_name : name, > validation_class : 'AsciiType' > }]; > > * use compatator instead of coluimn_type. >

Re: problem in create column family

2012-03-30 Thread aaron morton
This works… create column family student with comparator = 'AsciiType' and column_metadata = [{ column_name : name, validation_class : 'AsciiType' }]; * use compatator instead of coluimn_type. * closing ' missing Cheers - Aaron Morton Freelance Developer @aaronmor

Re: problem in create column family

2012-03-27 Thread puneet loya
create column family student with column_type = 'AsciiType' and column_metadata = [{ column_name : name, validation_class : 'AsciiType }]; On Tue, Mar 27, 2012 at 1:48 PM, Guy Incognito wrote: > why don't you show us the command you're actually trying to run? > > > On 27/03/2012 08:

Re: problem in create column family

2012-03-27 Thread Guy Incognito
why don't you show us the command you're actually trying to run? On 27/03/2012 08:52, puneet loya wrote: I m using cassandra 1.0.8.. Please reply On Tue, Mar 27, 2012 at 12:28 PM, R. Verlangen > wrote: Not sure about that, what version of Cassandra are you using?

Re: problem in create column family

2012-03-27 Thread puneet loya
I m using cassandra 1.0.8.. Please reply On Tue, Mar 27, 2012 at 12:28 PM, R. Verlangen wrote: > Not sure about that, what version of Cassandra are you using? Maybe > someone else here knows how to solve this.. > > > 2012/3/27 puneet loya > >> ya had created with UTF8Type before.. It gave the

Re: problem in create column family

2012-03-26 Thread R. Verlangen
Not sure about that, what version of Cassandra are you using? Maybe someone else here knows how to solve this.. 2012/3/27 puneet loya > ya had created with UTF8Type before.. It gave the same error. > > On executing help assume command it is giving 'utf8' as a type. > > so can i use comparator='u

Re: problem in create column family

2012-03-26 Thread puneet loya
ya had created with UTF8Type before.. It gave the same error. On executing help assume command it is giving 'utf8' as a type. so can i use comparator='utf8' or not?? Please reply On Mon, Mar 26, 2012 at 9:17 PM, R. Verlangen wrote: > You should use the full type names, e.g. > > create column

Re: problem in create column family

2012-03-26 Thread R. Verlangen
You should use the full type names, e.g. create column family MyColumnFamily with comparator=UTF8Type; 2012/3/26 puneet loya > It is giving errors like " Unable to find abstract-type class > 'org.apache.cassandra.db.marshal.utf8' " > > and java.lang.RuntimeException: > org.apache.cassandra.db.m

problem in create column family

2012-03-26 Thread puneet loya
It is giving errors like " Unable to find abstract-type class 'org.apache.cassandra.db.marshal.utf8' " and java.lang.RuntimeException: org.apache.cassandra.db.marshal.MarshalException: cannot parse 'catalogueId' as hex bytes where catalogueId is a column that has utf8 as its data type. they may b