Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 74622 invoked from network); 19 Jul 2010 14:46:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Jul 2010 14:46:41 -0000 Received: (qmail 23430 invoked by uid 500); 19 Jul 2010 14:46:39 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 23026 invoked by uid 500); 19 Jul 2010 14:46:38 -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 23003 invoked by uid 99); 19 Jul 2010 14:46:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jul 2010 14:46:38 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gdusbabek@gmail.com designates 74.125.83.44 as permitted sender) Received: from [74.125.83.44] (HELO mail-gw0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jul 2010 14:46:31 +0000 Received: by gwj19 with SMTP id 19so2346037gwj.31 for ; Mon, 19 Jul 2010 07:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=Tl+yE1X8gG8davaDoVkpyqV1MIbtPW83mhlOpNLe04o=; b=JJrKTzn/GFaN4wb4lfrg+1MQpmDs7Hly87hncLIhWJO1SlvIxzexdWwGJOaZavmvj0 ItBVRPevVgcXAzuM19WJLY2rmahQz31ScbIG5SCykY4uuUya2xKTX7eSK+wnQk/UU/ib qOiC+j6VV5MC+yefj138Q4makvVWAhmhE5Ve0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=wr6HMzyV7TrFmuNptJZsPrDlh8Td2E2z60HKrXhOMYJqZLfqYXN7quC5UgoIqMkODt WYMho4ZKYSAUfuOrWVcz1yOwTB7jbTKrxCYbmYZKrdJeWEJFn33Sa3sMmqxcNY+oeT7K LyNCREdS2GTicmA05uWSXproZQtjRlN6m2n/A= MIME-Version: 1.0 Received: by 10.150.215.17 with SMTP id n17mr4729445ybg.29.1279550770390; Mon, 19 Jul 2010 07:46:10 -0700 (PDT) Received: by 10.151.10.10 with HTTP; Mon, 19 Jul 2010 07:46:10 -0700 (PDT) Reply-To: gdusbabek@gmail.com In-Reply-To: <1279546741.31972.147.camel@boris-desktop> References: <1279546741.31972.147.camel@boris-desktop> Date: Mon, 19 Jul 2010 09:46:10 -0500 Message-ID: Subject: Re: Define keyspaces in cassandra 0.7 From: Gary Dusbabek To: user@cassandra.apache.org Cc: dev@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Defining at runtime is, very intentionally, an absolute must. It would have been very simple and perhaps user-friendly to add a flag that loads the schema specified in yaml when cassandra starts up. I decided against it when implementing the feature because I figured it would have been a disservice if users were constantly over-writing existing schema unintentionally. Gary. On Mon, Jul 19, 2010 at 08:39, Boris Spasojevic wrote: > Hi all, > Can someone post an example of how to define keyspaces in Cassandra 0.7? > My initial Cassandra node does not load the keyspaces defined at > Cassandra.yaml. Is there a way to define the keyspaces at startup or is > runtime defining an absolute must? > > thanks, > BoriS > >