incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zangds" <zan...@ihep.ac.cn>
Subject Re: Re: how to create Keyspaces and ColumnFamilies in 0.7.0 beta2?
Date Sat, 30 Oct 2010 21:07:04 GMT
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 
Mime
View raw message