Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 66224 invoked from network); 13 Apr 2010 15:20:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 15:20:01 -0000 Received: (qmail 31295 invoked by uid 500); 13 Apr 2010 15:20:00 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 31278 invoked by uid 500); 13 Apr 2010 15:20:00 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 31266 invoked by uid 99); 13 Apr 2010 15:20:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 15:20:00 +0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=AWL,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcdcd-cassandra-dev-1@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 15:19:55 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O1htk-00036W-Bp for dev@cassandra.apache.org; Tue, 13 Apr 2010 17:19:32 +0200 Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Apr 2010 17:19:32 +0200 Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Apr 2010 17:19:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cassandra.apache.org From: Ted Zlatanov Subject: Re: loading schema in trunk Date: Tue, 13 Apr 2010 10:19:23 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Lines: 32 Message-ID: <87fx2z9y84.fsf@lifelogs.com> References: <874ojgfwdu.fsf@lifelogs.com> <1271093989.8771.438.camel@erebus.lan> <87iq7wee76.fsf@lifelogs.com> <87wrwcb9l4.fsf@lifelogs.com> <1271111292.32464.19.camel@erebus.lan> <87sk70b77n.fsf@lifelogs.com> <87d3y3bjs1.fsf@lifelogs.com> <87vdbva2vm.fsf@lifelogs.com> <1271167724.32464.55.camel@erebus.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:0aRkJVt2t5HpwUcGjhsRptANsic= On Tue, 13 Apr 2010 09:08:44 -0500 Eric Evans wrote: EE> On Tue, 2010-04-13 at 08:44 -0500, Gary Dusbabek wrote: >> 2010/4/13 Ted Zlatanov : >> > Should the functionality be exposed only through JMX, through nodetool, >> > or through cassandra-cli? I'll create the ticket if you like and then I >> > or whoever wants to can work on it. >> I prefer thrift (and nodetool), but I'd like to hear thoughts from the >> community. EE> If we're going to do this, I suggest a separate utility scoped at EE> migrating existing definitions from an 0.6 configuration (and nothing EE> else), and then deprecate it right off the bat (read: for removal in EE> 0.8). EE> The point here is to be as clear as possible that it is transient, and EE> shouldn't be adopted as a management tool. I think everyone agrees loadSchemaFromXML can go away after 0.7 but just to be clear, you don't think Cassandra after 0.7 should come bundled with a tool that can dump, clear, and restore the schema? It's trivial to implement some very basic support for that without trying to provide a full management tool. I think it would be a big help for new users, troubleshooting (because you don't depend on tollkit X or language Y to know the true schema from the server's POV), those who want to share schema definitions and tests without external dependencies, and sysadmins who don't want to install another language to do a schema backup. Ted