我刚刚安装了Cassandra。当我尝试创建键空间时,出现错误消息:NoHostAvailable。来自正在运行的create keyspace命令的响应。知道我在做什么错吗?
cqlsh> CREATE KEYSPACE cycling
... WITH REPLICATION = {
... 'class' : 'SimpleStrategy',
... 'replication_factor' : 1
... };
NoHostAvailable:
cqlsh> show host;
Connected to Test Cluster at 127.0.0.1:9042.
cqlsh>