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 <zan...@ihep.ac.cn> wrote:

>  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.usi...@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 <zan...@ihep.ac.cn>
>>
>>  Should it be defined in cassandra.yaml?
>>> Or, create it on dynamic?
>>>
>>> 2010-10-30
>>> ------------------------------
>>> zangds
>>>
>>
>>
>

Reply via email to