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 B23BE5AD3 for ; Tue, 10 May 2011 20:27:06 +0000 (UTC) Received: (qmail 6155 invoked by uid 500); 10 May 2011 20:27:04 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 6133 invoked by uid 500); 10 May 2011 20:27:04 -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 6125 invoked by uid 99); 10 May 2011 20:27:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 20:27:04 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [121.101.151.224] (HELO nm2.bullet.mail.in.yahoo.com) (121.101.151.224) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 May 2011 20:26:55 +0000 Received: from [121.101.151.237] by nm2.bullet.mail.in.yahoo.com with NNFMP; 10 May 2011 20:26:57 -0000 Received: from [121.101.151.232] by tm2.bullet.mail.in.yahoo.com with NNFMP; 10 May 2011 20:26:38 -0000 Received: from [127.0.0.1] by omp1001.mail.in.yahoo.com with NNFMP; 10 May 2011 20:26:33 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 396810.7916.bm@omp1001.mail.in.yahoo.com Received: (qmail 96431 invoked by uid 60001); 10 May 2011 20:26:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1305059193; bh=oThVz8nmxU8uA2QM+nTAcWzRcpiuLXlxS8Bpmp9Sb4s=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=5vFFL8C4Xi5CStKVt7Itxi1X/zpJtGn16VLOQ0nMHWjaXQtyzIW57PLJ5GkRiIFEzXeZ2rPglOlugBJlZ9sYyzAQpTAQxkn6xXTHNRf4qutUuG2ZIrTuMfwF66j7wtcyTL0elMgvmalfCQ9gsCgf1oGVZCIFkYgdW49t5qgI3oQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LKMeGhwStFbLze0HY0/L2dlNSC6nW+7flSMUF7ldZbudNZaIHb4qHaP5JXsfEDBIPBoiughIp7IfrDfDXJOSX3X/FElZiuolagOJni0eqD5H6qUCArtvWGtq9g8bfB7n1d7uQIDE1lKIMn65gxjqD0ycx7Uaf4LS+H8nwSAiX54=; Message-ID: <151905.75845.qm@web95203.mail.in2.yahoo.com> X-YMail-OSG: .76w2J8VM1nVguogreaoosJme01uCwgQQ5_rj8JkBm2qu9J KUcJI1CgpajFTczzg3pJgmJRTmfNOioTw7m3IUns3fzb5FmdNuzT9yxGuUlm WXE8vRbq7.plMTpzL1VRfN3rnlUUuCdHWiq17DFnlY_x9tWtEEEDeaMB8C5f 1DZr_afs5NZxONDnlVcHS0VJI_c9zXC..OYOseQh2oCuJ6_Yh6ImQym3RbC6 9cmSJFo_PNS4.5GXuH.u7Ap5ejHDIBIMK_WVpNbxnKEHaMaHdgS5aK4RxtoO HeI5BQT4A3xjIG0cerIQrUk.9ajqQrmH5bkrqFprToSAyxJW6DWRqZgzRcTk AzmwNzZf6Xk.2wKDjikGXKVJxnJgj Received: from [199.3.180.4] by web95203.mail.in2.yahoo.com via HTTP; Wed, 11 May 2011 01:56:33 IST X-Mailer: YahooMailWebService/0.8.110.299900 References: Date: Wed, 11 May 2011 01:56:33 +0530 (IST) From: chovatia jaydeep Reply-To: chovatia jaydeep Subject: Re: How to load schema non-programmatically? loadSchemaFromYAML doesn't work To: "user@cassandra.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1926720112-1305059193=:75845" X-Virus-Checked: Checked by ClamAV on apache.org --0-1926720112-1305059193=:75845 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=0A=0AIf you are looking for some utility for loading the schema they yo= u can use schematool command line utlity as:=A0=0A$> schematool import|export=0A=0A=0AThank you,=0AJaydeep=0A=0A________________________= ________=0AFrom: Jim the Standing Bear =0ATo: user@= cassandra.apache.org=0ASent: Tuesday, 10 May 2011 1:16 PM=0ASubject: How to= load schema non-programmatically? loadSchemaFromYAML doesn't work=0A=0AHi,= =0A=0AI am just learning Cassandra at the moment.=A0 The O'Reilly book on= =0ACassandra says that I should be able to add the keyspace schema=0Adefini= tion to cassandra.yaml and then invoke loadSchemaFromYAML() to=0Aload it.= =A0 I tried that but it didn't work (and I do realize this book=0Ais a bit = obsolete now).=A0 Another post that I read says keyspace=0Adefinition in ca= ssandra.yaml is ignored because cassandra now supports=0Aprogrammatically l= oading schema.=A0 However, I still would like to know=0Aif there is a way t= o load it non-programmatically.=A0 Thanks.=0A=0A-- Jim --0-1926720112-1305059193=:75845 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
If you are looking for some utility for loading the schema = they you can use schematool command line utlity as: 
$>= ; schematool <host> <port> import|export
Thank you,
Jaydeep

From: Jim the Standing Bear <standingb= ear@gmail.com>
To: u= ser@cassandra.apache.org
Sent: Tuesday, 10 May 2011 1:16 PM
Subject: How to load schema non-programmatically? loadSchemaF= romYAML doesn't work

Hi,

I am just learning Cassandra = at the moment.  The O'Reilly book on
Cassandra says that I should b= e able to add the keyspace schema
definition to cassandra.yaml and then = invoke loadSchemaFromYAML() to
load it.  I tried that but it didn't= work (and I do realize this book
is a bit obsolete now).  Another = post that I read says keyspace
definition in cassandra.yaml is ignored b= ecause cassandra now supports
programmatically loading schema.  However, = I still would like to know
if there is a way to load it non-programmatic= ally.  Thanks.

-- Jim


--0-1926720112-1305059193=:75845--