use the jconsole to open cassandra MBean and then find :
 
org.apahce.cassandra.service--->StorageService--->operations---->loadSchemaFromYAML
 
 
2010-11-01

Bingbing Liu

发件人: zangds
发送时间: 2010-10-31  05:07:23
收件人: user
抄送:
主题: Re: Re: how to create Keyspaces and ColumnFamilies in 0.7.0 beta2?
Thank you.
how to "import yaml declaration once throw JMX“?
 
2010-10-30

zangds

发件人: ruslan usifov
发送时间: 2010-10-30  22:32:31
收件人: user
抄送:
主题: Re: how to create Keyspaces and ColumnFamilies in 0.7.0 beta2?
I'm sorry but i mistaken, the example mut lokks like this:

create keyspace test_1 with replication_factor=1;
use test_1;
create column family value with column_type='Standard' and comparator='AsciiType' and rows_cached=0.5 and key_cache_size=4000000;



http://wiki.apache.org/cassandra/LiveSchemaUpdates

2010/10/31 ruslan usifov <ruslan.usifov@gmail.com>
It should be creatted dinamicly, But you can import yaml declaration once throw JMX

To create dynamicly you can use cassandra-cli

Here some example of use it

create keyspace test_1;
use test_1;
create column family value with replication_factor=1 and column_type='Standard' and comparator='AsciiType' and rows_cached=0.5 and key_cache_size=4000000;

2010/10/30 zangds <zangds@ihep.ac.cn>

Should it be defined in cassandra.yaml?
Or, create it on dynamic?
 
2010-10-30

zangds