cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Loy <ketera...@gmail.com>
Subject Re: Loading Keyspace from YAML in 0.8
Date Fri, 03 Jun 2011 16:35:46 GMT
ugh!

On Fri, Jun 3, 2011 at 5:19 PM, Edward Capriolo <edlinuxguru@gmail.com>wrote:

>
>
> On Fri, Jun 3, 2011 at 12:14 PM, Paul Loy <keteracel@gmail.com> wrote:
>
>> We embed cassandra in our app. When we first load a cluster, we specify
>> one node in the cluster as the seed node. This node installs the schema
>> using StorageService.instance.loadKeyspacesFromYAML(). This call has
>> disappeared in 0.8.
>>
>> How can we do the same thing in Cassandra 0.8?
>>
>> Thanks,
>>
>> --
>> ---------------------------------------------
>> Paul Loy
>> paul@keteracel.com
>> http://uk.linkedin.com/in/paulloy
>>
>
> That was only a feature for migration from 0.6.X->0.7.X.
>
> You can use bin/bassandra-cli -f <file_with defs>
>
> But I would use the methods in thrift such as  system_add_keyspace().
>
> Edward
>



-- 
---------------------------------------------
Paul Loy
paul@keteracel.com
http://uk.linkedin.com/in/paulloy

Mime
View raw message