Cassandra - Column family exists but is not visible through description or OpsCenter

I am currently evaluating Cassandra for an upcoming project and trying to get my head around the basics.

I have a problem creating a column family through the CQL wrapper - the column family is created as usable, however it does not appear when I issue the DESCRIBE command using the CLI tool or when browsing the cluster through DataStax OpsCenter.

I created the key space as such:

CREATE KEYSPACE Testing
WITH replication = {'class': 'SimpleStrategy', 'replication_factor' : 1};

      

and defined the column family as:

CREATE TABLE SampleTable(
Id int PRIMARY KEY,
Name text,
OtherValue int
);

      

I can successfully insert and select data from the SampleTable, however it does not appear with the Describe command or in OpsCenter.

I can create a visible column family using the CLI or API in FluentCassandra, but would like to use a CQL approach.

It's one day with Cassandra, so I'm sure I'm missing something simple. Any pointers?

+3


source to share


1 answer


Column families created with CQL3 are not displayed when using the API. For more information, see the following issues:



https://issues.apache.org/jira/browse/CASSANDRA-4377 https://issues.apache.org/jira/browse/CASSANDRA-4924

+3


source







All Articles