OpenTSDB / asynccassandra

A shim for using Cassandra as a backend for OpenTSDB. Not to be used as a general Cassandra client.
BSD 3-Clause "New" or "Revised" License
7 stars 12 forks source link

asynccassandra for Cassandra 3x #3

Open ikod opened 8 years ago

ikod commented 8 years ago

Hello, I'm trying to run Open TSDB with cassandra 3.7, but looks like it is not supported or not documented. For example i can't find cql script to create keyspace and column families - all that I can see in cassandra-cli script, which is moved out for cassandra 3x.

Can you please help with this issue?

Thanks!

manolama commented 7 years ago

I'll take a look at the APIs at some point but if the Cass devs got rid of the low-level API in version 3.x then you'll have to use 2.x until we can figure out a way to use CQL to efficiently store time series data.

jpdurot commented 7 years ago

@ikod @manolama We ran into the same problem.I managed to extract schema in a CQL way so that we now are able to create a schema with cqlsh and Cassandra 3.x. Here is the content of the script (note that you will have to customize some options to map to your configuration, e.g replication, tombstone retention, ...)

opentsdb_schema.txt