当我运行任何查询时,Cassandra显示三个点

时间:2013-04-28 03:03:53

标签: cassandra

这是我第一次使用cassandra,所以如果我的问题很天真,请原谅我 我已经下载并提取了cassandra 1.2.4
我使用/usr/local/apache-cassandra-1.2.4/bin/cassandra -f运行它 现在我连接到它

root@Alaa:/usr/local/apache-cassandra-1.2.4# ./bin/cassandra-cli
Connected to: "Test Cluster" on 127.0.0.1/9160
Welcome to Cassandra CLI version 1.2.4

Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.

[default@unknown] show cluster name
... 

这三个点永远存在!知道什么是错的吗?

1 个答案:

答案 0 :(得分:9)

您需要使用;终止命令,否则shell无法告诉您“完成”输入查询/命令:

show cluster name;
                 ^---

这就是为什么在启动时打印的help;quit;exit;示例都包含; ...