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
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
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,
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
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
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
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
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
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_