Re: Create column family fail

2012-06-26 Thread Juan Ezquerro
Ok the '--' was the problem ... LOL 2012/6/26 Juan Ezquerro > Hi, > > I create this column family: > > > CREATE COLUMN FAMILY Clients > WITH column_type='Super' > AND key_validation_class = LongType -- master_id > AND comparator = LongType -- client_id > AND subcomparator

Re: create column family

2012-03-30 Thread Ben McCann
I think the confusion here is that cassandra-cli and cqlsh have different syntaxes. On Fri, Mar 30, 2012 at 4:37 PM, aaron morton wrote: > Background: > http://www.datastax.com/docs/1.0/references/cql/CREATE_COLUMNFAMILY > > What error are you getting ? This works for me. > > cqlsh> use dev; > c

Re: create column family

2012-03-30 Thread aaron morton
Background: http://www.datastax.com/docs/1.0/references/cql/CREATE_COLUMNFAMILY What error are you getting ? This works for me. cqlsh> use dev; cqlsh:dev> create COLUMNFAMILY users ... (KEY uuid PRIMARY KEY, ... firstname text, ... lastname text, ... email text,

Re: create column family

2012-03-27 Thread puneet loya
how to use cql?? Rite now i m running dis file cassandra-cli.bat i connect localhost/9160; den i went into use pun; //its a keyspace using the create statement create COLUMNFAMILY users (KY uuid PRIMARY KEY*,* firstname text, lastname text, email text, address text, zip int, state tex

Re: create column family or keyspace returns null

2011-08-05 Thread myreasoner
That does the trick. Thanks. I should've read FAQ more thoroughly. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/create-column-family-or-keyspace-returns-null-tp6658215p6658464.html Sent from the cassandra-u...@incubator.apache.org mailing lis

Re: create column family or keyspace returns null

2011-08-05 Thread Jonathan Ellis
Then you should read http://wiki.apache.org/cassandra/FAQ#schema_disagreement On Fri, Aug 5, 2011 at 5:31 PM, myreasoner wrote: > I restarted the cluster a couple of times.  But the error message > > ERROR [HintedHandoff:4] 2011-08-05 16:42:30,893 AbstractCassandraDaemon.java > (line 139) Fatal e

Re: create column family or keyspace returns null

2011-08-05 Thread myreasoner
I restarted the cluster a couple of times. But the error message ERROR [HintedHandoff:4] 2011-08-05 16:42:30,893 AbstractCassandraDaemon.java (line 139) Fatal exception in thread Thread[HintedHandoff:4,1,main] keeps on coming back. And I still can't create any column family or keyspace. -- Vie

Re: create column family or keyspace returns null

2011-08-05 Thread Jonathan Ellis
Probably. 0.8.3 will be out shortly with a "real" fix. In the meantime, restarting the node(s) logging schema disagreement should work around the problem. On Fri, Aug 5, 2011 at 4:57 PM, myreasoner wrote: > I got a 5-node cluster running on 0.8.2.  From the system log I'm seeing the > exact pro

Re: create column family throws an error

2010-10-13 Thread Jonathan Ellis
This is fixed in trunk. On Wed, Oct 13, 2010 at 5:41 PM, Dmitri Smirnov wrote: > I am experiencing an error while using cassandra_cli while attempting to > create a column familiy. > Using 0.7beta2. > > create column family ABTest with column_type = 'Super' and comparator = > 'LongType' and rows_