Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 825346AAD for ; Fri, 3 Jun 2011 16:19:47 +0000 (UTC) Received: (qmail 71976 invoked by uid 500); 3 Jun 2011 16:19:45 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 71943 invoked by uid 500); 3 Jun 2011 16:19:45 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 71935 invoked by uid 99); 3 Jun 2011 16:19:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 16:19:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of edlinuxguru@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 16:19:40 +0000 Received: by iyn15 with SMTP id 15so2145612iyn.31 for ; Fri, 03 Jun 2011 09:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=adXIQbfmTcMx6BghuB7K1AyQFzZpR7ZMxa59kkHzUto=; b=CksK0rf3ljnjTYRKSUcXK4XbIW2WzoimAIi0nvtLCCtAyuGEh3wazT5Vy3qu8yqYQ6 yRqyMw7GjruLO1X/YJQ3pMitdHMPrC+RF14zs7Gwbbqz3mJZae3DWC/tCqMJ3L7s8Dkg Au2IdmMxooBt6UB3X3UowTjAkDZr/yKLogJak= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fVFirNM2pPTMJ7epBS+pWrX9B6pUBRODW0XP5pvMS+QwaxfbTXl46d9iS7KBBxqITt Gz3lyn9RIpnvLtwWfdBAEUYyayUTldL7w4/z5K9Fs+qSX7+yw3V0z9p7GtHrbKOwXJic ZWhxyynkb1qe2/8ZQv6SWjAbEW9ogHMmlAKZw= MIME-Version: 1.0 Received: by 10.42.53.77 with SMTP id m13mr3581823icg.444.1307117960015; Fri, 03 Jun 2011 09:19:20 -0700 (PDT) Received: by 10.42.164.138 with HTTP; Fri, 3 Jun 2011 09:19:20 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 Jun 2011 12:19:20 -0400 Message-ID: Subject: Re: Loading Keyspace from YAML in 0.8 From: Edward Capriolo To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf3022392dafafc004a4d11d08 --20cf3022392dafafc004a4d11d08 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Jun 3, 2011 at 12:14 PM, Paul Loy 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 But I would use the methods in thrift such as system_add_keyspace(). Edward --20cf3022392dafafc004a4d11d08 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Fri, Jun 3, 2011 at 12:14 PM, Paul Lo= y <keteracel@gm= ail.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
h= ttp://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&g= t;

But I would use the methods in thrift such as=A0 system_add_keysp= ace().

Edward
--20cf3022392dafafc004a4d11d08--