CQLSH connectivity error: invalid query: unconfigured columnfamily local

I am trying to configure CQLSH on Windows. I did a python compilation and tried to run CQLSH, I get this strange error below. I don't have a columnfamily named "local". And I have not yet indicated my key space. So why does he complain that I don't have columnfamily 'local? Does anyone understand this?

C: \ apache-cassandra-2.0.1 \ bin> python cqlsh --cqlversion = "3.0.0" Connection error: invalid request: unconfigured columnfamily local

C: \ apache-cassandra-2.0.1 \ bin> python cqlsh --cqlversion = "3.0.0" localhost 9160 Connection error: invalid request: unconfigured columnfamily local

+4
source share
1 answer

This is not a driver error, one of the internal cassandra CF systems is missing.

The local column family is in the system key space, it stores information about C * nodes and should be created when cassandra is launched for the first time. This is probably a certain form of permission error (but C * does not really start if one of the system key spaces is missing), restricting cassandra from creating a family of columns that were manually deleted.

, cassandra C * ( , , / cassandra, , , )

+4

Source: https://habr.com/ru/post/1525484/


All Articles