Cassandra Permissions

If Cassandra is configured to use authorizer by setting authorizer: CassandraAuthorizer in cassandra.yaml, accessing resources like tables, keyspaces require permission to be granted to user. Here, we will see how to grant permission.

Cannot start node if snitch's data center (dc1) differs from previous data center (datacenter1)

This error is caused by a failed previous installation and the data_file_directories, commitlog_directories and saved_caches_directories are not deleted.

Cassandra NODETOOL Commands

Some of the most frequently used NODETOOL commands

Cassandra CQLSH Commands

Some of the most frequently used CQLSH commands

'Unable to connect to any servers'..."Tried connecting to ... Last error: Connection refused")})

How to resolve 'Unable to connect to any servers'..."Tried connecting to ... Last error: Connection refused")})

Error: null; expected '', but found BlockMappingStart; in 'reader'

How to resolve Error: null; expected '', but found BlockMappingStart; in 'reader'

Cassandra CQLSH : ImportError: No module named _ssl

How to resolve Error: null; expected '', but found BlockMappingStart; in 'reader'

Cassandra CQLSH : Exception (java.lang.RuntimeException) encountered during startup: Unable to gossip with any seeds

Let us look what causes this error and how to resolve it