rustyrazorblade / easy-cass-stress

Other
14 stars 8 forks source link

Cass 4.0+ use_statements_enabled = false error #24

Open sarma1807 opened 6 months ago

sarma1807 commented 6 months ago

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)

rustyrazorblade commented 6 months ago

Fixing this is very low priority as it's not performance impacting.