error during easy-cass-stress : if USE is disabled on Cassandra cluster :
USE statements prohibited. (see use_statements_enabled in cassandra.yaml)
com.datastax.driver.core.exceptions.InvalidQueryException: USE statements prohibited. (see use_statements_enabled in cassandra.yaml)
Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: USE statements prohibited. (see use_statements_enabled in cassandra.yaml)
in Cassandra 4.0, a new parameter was introduced use_statements_enabled to allow or disallow usage of "use keyspace" command.
$ grep use_statements_enabled cassandra/conf/cassandra.yaml
use_statements_enabled: true <======== default (enabled)
use_statements_enabled: false <======== modified (disabled) $
error during easy-cass-stress : if USE is disabled on Cassandra cluster :
USE statements prohibited. (see use_statements_enabled in cassandra.yaml) com.datastax.driver.core.exceptions.InvalidQueryException: USE statements prohibited. (see use_statements_enabled in cassandra.yaml) Caused by: com.datastax.driver.core.exceptions.InvalidQueryException: USE statements prohibited. (see use_statements_enabled in cassandra.yaml)