incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sorin Julean <sorin.jul...@gmail.com>
Subject Re: Cassandra auto keyspace operation using script
Date Fri, 29 Jul 2011 09:28:52 GMT
Hey,

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

Regards,
Sorin

On Fri, Jul 29, 2011 at 9:54 AM, 祝海通 <zhuhaitong@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

Mime
View raw message