Should it be defined in cassandra.yaml?
Or, create it on dynamic?
2010-10-30
zangds
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='AsciiT
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=400;
http://wiki.apache.org/cassandra/LiveSchemaU
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 te
Use bin/schematool
For example, locally I would use:
bin/schematool localhost 8080 import
- Tyler
On Sat, Oct 30, 2010 at 4:07 PM, zangds wrote:
> Thank you.
> how to "import yaml declaration once throw JMX“?
>
> 2010-10-30
> --
> zangds
> ---