Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 67484 invoked from network); 6 Jan 2011 22:15:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2011 22:15:26 -0000 Received: (qmail 61677 invoked by uid 500); 6 Jan 2011 22:15:24 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 61650 invoked by uid 500); 6 Jan 2011 22:15:24 -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 61642 invoked by uid 99); 6 Jan 2011 22:15:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 22:15:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.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 narendra.sharma@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; Thu, 06 Jan 2011 22:15:18 +0000 Received: by fxm9 with SMTP id 9so16588340fxm.31 for ; Thu, 06 Jan 2011 14:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=IP5JsuF23u2dE2WOsF5qkOImrcw++o5cjCZopgZTcrg=; b=Q1UZDZWBJcci67k1zmRZ+RazwJ09t5SDq6S6uY3wHkNf+aWkLgIOdhHgjiZMjoR2CA Cio8M4oPDt6QiojNErG2tabFbeGimzoPpsZPcrupSjgvzGOsNg4F3sAkd7Gg++QPRdVD LwaRSf+mNRpNwvkSqO4L7A3oMYpKI0n9T75Mw= 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=puAYGLqV/dvnyg8M8qq/A4r0V/wFNBx5vbYesaFvcSUujOK8zDlgfvfRJGauzAWHK0 K821wRArNgWByxAYIodXjtTBDnlkTgiyDkUdDshImVWZz9/nWMa/NFG4aDx8MTfd7Mry DQolSkzmP2g0fnhktItxE9yaKBMVMGQvkpMBA= MIME-Version: 1.0 Received: by 10.223.79.6 with SMTP id n6mr3855631fak.122.1294352097002; Thu, 06 Jan 2011 14:14:57 -0800 (PST) Received: by 10.223.147.199 with HTTP; Thu, 6 Jan 2011 14:14:56 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Jan 2011 14:14:56 -0800 Message-ID: Subject: Re: cassandra 0.7.0 noob question From: Narendra Sharma To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=00248c0ee8d0f4c48a049934d441 --00248c0ee8d0f4c48a049934d441 Content-Type: text/plain; charset=ISO-8859-1 The schema is not loaded from cassandra.yaml by default. You need to either load it through jconsole or define it through CLI. Please read following page for details: http://wiki.apache.org/cassandra/LiveSchemaUpdates Also look for "Where are my keyspaces" on following page: http://wiki.apache.org/cassandra/StorageConfiguration Thanks, Naren On Thu, Jan 6, 2011 at 2:00 PM, felix gao wrote: > Hi all, > > I started cassandra with very thing untouched in the conf folder, when I > examine the cassandra.yaml file, there seems to be a default keyspace > defined like below. > keyspaces: > - name: Keyspace1 > replica_placement_strategy: > org.apache.cassandra.locator.SimpleStrategy > replication_factor: 1 > column_families: > - name: Standard1 > > my question is when I ran the cassandra-cli and show keyspaces; only system > keyspace is there. What is going on? > > Thanks, > > Felix > > --00248c0ee8d0f4c48a049934d441 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The schema is not loaded from cassandra.yaml by default. You need to either= load it through jconsole or define it through CLI. Please read following p= age for details:
http://wiki.apache.org/cassandra/LiveSchemaUpdates

Also look for "Where are my keyspaces" on following page:
= http://wi= ki.apache.org/cassandra/StorageConfiguration

Thanks,
Naren

--00248c0ee8d0f4c48a049934d441--