Hey,

 Try: echo *-e* "connnet localhost/9160;* \n*show keyspace*;*" |
bin/cassandra-cli

Regards,
Sorin

On Fri, Jul 29, 2011 at 9:54 AM, 祝海通 <zhuhait...@gmail.com> wrote:

> In our Cassandra test for YCSB benchmark, we want to create column family
> and drop keyspace with script automatically.
> But I fount that in our script. /bin/cassandra-cli; connect localhost/9160;
> show keyspace;  can not execute.
> Using the "" does not work.
> and Using echo "connnet localhost/9160; show keyspace "|bin/cassandra-cli
> It doesn't work too.
>
> haitongz

Reply via email to