timescale / tsbs

Time Series Benchmark Suite, a tool for comparing and evaluating databases for time series data
MIT License
1.26k stars 297 forks source link

tsbs_load_cassandra -> slice bounds out of range [:-3] #174

Open fuchsiie opened 3 years ago

fuchsiie commented 3 years ago

Hey, i am trying to execute a tsbs-benchmark against a cassandra database. Therefore i created a dataset with the following command:

./tsbs_generate_data --use-case="iot" --seed=123 --scale=4000 --timestamp-start="2021-07-26T17:10:00Z" --timestamp-end="2021-07-17:12:00Z" --log-interval="10s" --format="cassandra" | gzip > ~/results/cass-data.gz

I unzipped the cass-data.gz and then executed following command:

./tsbs_load_cassandra --hosts=*cassandra-server-ip" --file=path/to/cass-data

This resulted in following error:

image

Does somebody know, why this error occurs and how to fix it ? Or is there an easy way to execute a benchmark against a cassandra database?

I tried to use following sites as help, but i can't get it:

https://github.com/timescale/tsbs#how-to-use-tsbs

https://github.com/timescale/tsbs/blob/master/docs/cassandra.md

Thanks for your help :)