1

I am new to cassandra and I am using cassandra version 2.1.17 which supports cassandra-cli . I created a keyspace using the following command

create keyspace employee with placement_strategy='org.apache.cassandra.locator.SimpleStrategy' and strategy_options = {replication_factor:1};

However when I use the command
use employee;

I get the following error

unconfigured table schema_columnfamilies

I am unable to understand what is the issue. Can someone help me resolve this issue. Thanks in advance.

Community
  • 1
  • 1
Amogh Huilgol
  • 1,252
  • 3
  • 18
  • 25

1 Answers1

1

Figured out the solution. The issue was that I had previously installed another version of cassandra and uninstalled it. It turned out that even though i uninstalled the application , some processes of previous version were still running. I killed those processes manually and restarted the cassandra server.

Amogh Huilgol
  • 1,252
  • 3
  • 18
  • 25
  • Can I get details? I have the same issue :-) – Svitlana May 03 '18 at 17:57
  • This error comes when you have installed multiple versions of cassandra. I used ps -ef command in terminal and saw that some of the processes for other version of cassandra was running eventhough i had uninstalled it – Amogh Huilgol May 10 '18 at 20:12