Re: Cassandra auto keyspace operation using script

2011-07-30 Thread 祝海通
thanks,Sorin It works! haitong On Fri, Jul 29, 2011 at 5:28 PM, Sorin Julean 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, 祝海通 wrote: > >> In our Cassandra test for YCSB benchm

Re: Cassandra auto keyspace operation using script

2011-07-29 Thread Sorin Julean
Hey, Try: echo *-e* "connnet localhost/9160;* \n*show keyspace*;*" | bin/cassandra-cli Regards, Sorin On Fri, Jul 29, 2011 at 9:54 AM, 祝海通 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 ou

Cassandra auto keyspace operation using script

2011-07-29 Thread 祝海通
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; sho