Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot specify batch_size on CassandraBatchTimeseries workload #49

Open
robertsami opened this issue Feb 12, 2021 · 0 comments
Open

Cannot specify batch_size on CassandraBatchTimeseries workload #49

robertsami opened this issue Feb 12, 2021 · 0 comments

Comments

@robertsami
Copy link
Contributor

java -jar /yb-sample-apps.jar --workload CassandraBatchTimeseries --nodes 172.151.23.233:9042,172.151.16.216:9042,172.151.19.200:9042 --num_threads_read 0 --num_threads_write 16 --batch_size 200

the following condition fails: https://github.com/yugabyte/yb-sample-apps/blob/master/src/main/java/com/yugabyte/sample/common/CmdLineOpts.java#L208
33 [main] FATAL com.yugabyte.sample.common.CmdLineOpts - The batch size cannot be more than the number of unique keys
However, num_unique_keys is not relevant to this workload, so this check is incorrect in the case of this workload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant