Cassandra 0.8 & schematool

2011-08-29 Thread Jenny
Hi 

I notice that schematool was removed from the release of Cassandra 0.8. I would 
like to know the reason of doing that and  how i can load the schema from 
configure file(like .yaml) automatically.


Best Regards!

Jenny

Re: Cassandra 0.8 & schematool

2011-08-30 Thread Jenny
Thank you. problem solved

在 2011-8-30,下午9:12, Jonathan Ellis 写道:

> The right way to do this is to use a script of "create" commands:
> 
> bin/cassandra-cli -f my-schema-creation-script
> 
> On Tue, Aug 30, 2011 at 1:00 AM, Jenny  wrote:
>> Hi
>> I notice that schematool was removed from the release of Cassandra 0.8. I
>> would like to know the reason of doing that and  how i can load the schema
>> from configure file(like .yaml) automatically.
>> 
>> Best Regards!
>> Jenny
> 
> 
> 
> -- 
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com

Best Regards!

Yi Wang(Jenny)

Institute of Massive Computing
Software Engineering Institute
East China Normal University
NO.109(West), Math Building, NO.3663, Zhongshan Road(North), Shanghai, China





what did actually happen?

2011-09-04 Thread Jenny
ics.db
-rw-r--r--   1 wy  staff  1218034  9  4 21:05 0-g-22-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:05 0-g-22-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:05 0-g-22-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:05 0-g-22-Statistics.db
-rw-r--r--   1 wy  staff  1244578  9  4 21:05 0-g-23-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:05 0-g-23-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:05 0-g-23-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:05 0-g-23-Statistics.db
-rw-r--r--   1 wy  staff  1213320  9  4 21:05 0-g-24-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:05 0-g-24-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:05 0-g-24-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:05 0-g-24-Statistics.db
-rw-r--r--   1 wy  staff  1196204  9  4 21:06 0-g-26-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:06 0-g-26-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:06 0-g-26-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:06 0-g-26-Statistics.db
-rw-r--r--   1 wy  staff  1236890  9  4 21:06 0-g-27-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:06 0-g-27-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:06 0-g-27-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:06 0-g-27-Statistics.db
-rw-r--r--   1 wy  staff  1174382  9  4 21:06 0-g-28-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:06 0-g-28-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:06 0-g-28-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:06 0-g-28-Statistics.db
-rw-r--r--   1 wy  staff  1196784  9  4 21:01 0-g-3-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:01 0-g-3-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:01 0-g-3-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:01 0-g-3-Statistics.db
-rw-r--r--   3 wy  staff  1206800  9  4 21:07 0-g-30-Data.db
-rw-r--r--   3 wy  staff   16  9  4 21:07 0-g-30-Filter.db
-rw-r--r--   3 wy  staff   14  9  4 21:07 0-g-30-Index.db
-rw-r--r--   3 wy  staff 4276  9  4 21:07 0-g-30-Statistics.db
-rw-r--r--   3 wy  staff  1238050  9  4 21:07 0-g-31-Data.db
-rw-r--r--   3 wy  staff   16  9  4 21:07 0-g-31-Filter.db
-rw-r--r--   3 wy  staff   14  9  4 21:07 0-g-31-Index.db
-rw-r--r--   3 wy  staff 4276  9  4 21:07 0-g-31-Statistics.db
-rw-r--r--   1 wy  staff  1195044  9  4 21:01 0-g-4-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:01 0-g-4-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:01 0-g-4-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:01 0-g-4-Statistics.db
-rw-r--r--   1 wy  staff  1170538  9  4 21:01 0-g-6-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:01 0-g-6-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:01 0-g-6-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:01 0-g-6-Statistics.db
-rw-r--r--   1 wy  staff  1199468  9  4 21:01 0-g-7-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:01 0-g-7-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:01 0-g-7-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:01 0-g-7-Statistics.db
-rw-r--r--   1 wy  staff  1198532  9  4 21:02 0-g-8-Data.db
-rw-r--r--   1 wy  staff   16  9  4 21:02 0-g-8-Filter.db
-rw-r--r--   1 wy  staff   14  9  4 21:02 0-g-8-Index.db
-rw-r--r--   1 wy  staff 4276  9  4 21:02 0-g-8-Statistics.db

/Is there any optimization for extremely large row size?

Best Regards!

Yi Wang(Jenny)





Debug & Timeout

2011-09-04 Thread Jenny
Hi 

I've already set Long rpc_timeout_in_ms = Long.MAX_VALUE;
How can i avoid time out exception, when debugging the cassandra server.

Best Regards!

Yi Wang(Jenny)