From user-return-17295-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Fri Jun 3 16:15:23 2011 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 1045D66EC for ; Fri, 3 Jun 2011 16:15:23 +0000 (UTC) Received: (qmail 58056 invoked by uid 500); 3 Jun 2011 16:15:21 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58036 invoked by uid 500); 3 Jun 2011 16:15:21 -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 58026 invoked by uid 99); 3 Jun 2011 16:15:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 16:15:21 +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 (nike.apache.org: domain of keteracel@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 16:15:15 +0000 Received: by fxm15 with SMTP id 15so1587942fxm.31 for ; Fri, 03 Jun 2011 09:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=3nNhz7U89KtzFotAVOOMKSzcMin7lQuEZJuI5PAtN7A=; b=Ap6IaKhyVZmOaQk8n5BUq6qgJxMv5pu+Lxa1CgT/pHs6KXOwt22xpHqGtB2n0ugpKH EMTo9CksxidaIr9RsgOYjVcHFa1OIxUwNS1kAjQ4VyEzOfy41adMzfcfywpdfrrQsu2B 1bC9HcyZu0bmb7TcVbdiqekaIk98T+HvL69is= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UNmmCfAa2iUfeSFT9Q4KEGptpF+Xmde6TsoURUxOySq7Xs+ZAzRPvtEAnmniqa6ab4 ivJKPhgmuEM+1RmrZnHkeH+XYQWAcZU1zCGAULbqk+EKxGw2baxUvylSnwXWG0H/6ynD +wFOUoBwwpPV4OB9DEuW1CySZFtPx6p61ZKKg= MIME-Version: 1.0 Received: by 10.223.2.205 with SMTP id 13mr1309841fak.138.1307117695111; Fri, 03 Jun 2011 09:14:55 -0700 (PDT) Received: by 10.223.122.71 with HTTP; Fri, 3 Jun 2011 09:14:54 -0700 (PDT) Date: Fri, 3 Jun 2011 17:14:54 +0100 Message-ID: Subject: Loading Keyspace from YAML in 0.8 From: Paul Loy To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf3054a8efe593f604a4d10ded X-Virus-Checked: Checked by ClamAV on apache.org --20cf3054a8efe593f604a4d10ded Content-Type: text/plain; charset=ISO-8859-1 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 --20cf3054a8efe593f604a4d10ded Content-Type: text/html; charset=ISO-8859-1 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
--20cf3054a8efe593f604a4d10ded--