thank u *:))* On Sat, Mar 31, 2012 at 4:51 AM, aaron morton <aa...@thelastpickle.com>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. > * closing ' missing > > Cheers > > ----------------- > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 28/03/2012, at 12:41 AM, puneet loya wrote: > > > 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 <dnd1...@gmail.com> wrote: > >> 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 <ro...@us2.nl> 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 <puneetl...@gmail.com> >>> >>>> 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 <ro...@us2.nl> wrote: >>>> >>>>> You should use the full type names, e.g. >>>>> >>>>> create column family MyColumnFamily with comparator=UTF8Type; >>>>> >>>>> >>>>> 2012/3/26 puneet loya <puneetl...@gmail.com> >>>>> >>>>>> 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 be just synactical errors.. >>>>>> >>>>>> Please suggest if u can help me out on dis?? >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> With kind regards, >>>>> >>>>> Robin Verlangen >>>>> www.robinverlangen.nl >>>>> >>>>> >>>> >>> >>> >>> -- >>> With kind regards, >>> >>> Robin Verlangen >>> www.robinverlangen.nl >>> >>> >> >> > >