cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 祝海通 <zhuhait...@gmail.com>
Subject Re: Cassandra auto keyspace operation using script
Date Sun, 31 Jul 2011 02:42:37 GMT
thanks,Sorin  It works!

haitong


On Fri, Jul 29, 2011 at 5:28 PM, Sorin Julean <sorin.julean@gmail.com>wrote:

> 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