我安装了cassandra并运行cqlsh:
Connected to Test Cluster at localhost:9160.
[cqlsh 4.1.1 | Cassandra 2.0.10 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
Use HELP for help.
然后在cqlsh上输入clear命令但我得到了这个
cqlsh> clear;
Bad Request: line 1:0 no viable alternative at input 'clear'
cqlsh> clear
... ;
Bad Request: line 1:0 no viable alternative at input 'clear'
cqlsh>
1条答案
按热度按时间bvhaajcl1#
clear命令是在Cassandra 2.2.1(commit)中添加的,而您使用的是非常旧的2.0.10。如果您刚刚学习Cassandra,请从Cassandra 4.x开始,而不要使用8年前发布的版本...