incubator-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 21:07:59 GMT
+1

On Fri, Jun 3, 2011 at 9:44 PM, Jeremiah Jordan <
JEREMIAH.JORDAN@morningstar.com> wrote:

>  Or at least someone should write a script which will take a YAML config
> and turn it into a CLI script.
>
>  ------------------------------
> *From:* Edward Capriolo [mailto:edlinuxguru@gmail.com]
> *Sent:* Friday, June 03, 2011 12:00 PM
>
> *To:* user@cassandra.apache.org
> *Subject:* Re: Loading Keyspace from YAML in 0.8
>
>
>
> On Fri, Jun 3, 2011 at 12:35 PM, Paul Loy <keteracel@gmail.com> wrote:
>
>> 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
>>
>
> Yes, Cassandra is very aggressive with deprecating stuff. However to be
> fair it is clear that StorageService is subject to change at any time.
> With things like this I personally do not see the harm in letting them hang
> around for a while. In fact I really think it should be added back, because
> it makes me wonder what the MANY people going from 0.6.X to 0.8.X are going
> to do.
>
>
>
>



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

Mime
View raw message