Re: loading schema in trunk

2010-04-19 Thread Ted Zlatanov
On Tue, 13 Apr 2010 10:19:23 -0500 Ted Zlatanov wrote: TZ> I think everyone agrees loadSchemaFromXML can go away after 0.7 but just TZ> to be clear, you don't think Cassandra after 0.7 should come bundled TZ> with a tool that can dump, clear, and restore the schema? It's trivial TZ> to implemen

Re: loading schema in trunk

2010-04-13 Thread Ted Zlatanov
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

Re: loading schema in trunk

2010-04-13 Thread Jeff Hodges
+1 -- Jeff On Tue, Apr 13, 2010 at 7:08 AM, Eric Evans wrote: > 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 t

Re: loading schema in trunk

2010-04-13 Thread Jonathan Ellis
On Tue, Apr 13, 2010 at 9:08 AM, Eric Evans wrote: > If we're going to do this, I suggest a separate utility scoped at > migrating existing definitions from an 0.6 configuration (and nothing > else), and then deprecate it right off the bat (read: for removal in > 0.8). +1

Re: loading schema in trunk

2010-04-13 Thread Eric Evans
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

Re: loading schema in trunk

2010-04-13 Thread Gary Dusbabek
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. > > Ted > I prefer thrift (and nodetool), but I'd like to hear thoughts from the com

Re: loading schema in trunk

2010-04-13 Thread Ted Zlatanov
On Tue, 13 Apr 2010 07:57:42 -0500 Gary Dusbabek wrote: GD> 2010/4/13 Ted Zlatanov : >> I agree loadSchemaFromXML should go away, although IMHO there should be >> an easy way through something bundled with Cassandra (nodetool or >> cassandra-cli) to dump, wipe, and restore the schema even though

Re: loading schema in trunk

2010-04-13 Thread Gary Dusbabek
2010/4/13 Ted Zlatanov : > I agree loadSchemaFromXML should go away, although IMHO there should be > an easy way through something bundled with Cassandra (nodetool or > cassandra-cli) to dump, wipe, and restore the schema even though the > general schema support is punted to external tools.  Are yo

Re: loading schema in trunk

2010-04-13 Thread Ted Zlatanov
On Mon, 12 Apr 2010 20:25:15 -0500 Gary Dusbabek wrote: GD> 2010/4/12 Ted Zlatanov : >> >> OK, I was hoping nodetool would support that operation.  I wanted to use >> something on the same machine as the Cassandra instance so I can >> automate a complete install in QA, and jconsole won't work u

Re: loading schema in trunk

2010-04-12 Thread Gary Dusbabek
2010/4/12 Ted Zlatanov : > > OK, I was hoping nodetool would support that operation.  I wanted to use > something on the same machine as the Cassandra instance so I can > automate a complete install in QA, and jconsole won't work unattended > AFAIK.  I don't know JMX well so I'll look for something

Re: loading schema in trunk

2010-04-12 Thread Ted Zlatanov
On Tue, 13 Apr 2010 00:15:32 +0100 Ryan Daum wrote: RD> jmxterm is a nice cli jmx tool Sweet. And it supports tab-completion to boot. Thanks! Ted

Re: loading schema in trunk

2010-04-12 Thread Ryan Daum
jmxterm is a nice cli jmx tool 2010/4/13 Ted Zlatanov > On Mon, 12 Apr 2010 17:28:12 -0500 Eric Evans > wrote: > > EE> On Mon, 2010-04-12 at 17:16 -0500, Ted Zlatanov wrote: > >> In my checkout, nodetool can't load the schemas as the wiki suggests > >> for 0.6 upgrades. Is that coming or plann

Re: loading schema in trunk

2010-04-12 Thread Ted Zlatanov
On Mon, 12 Apr 2010 17:28:12 -0500 Eric Evans wrote: EE> On Mon, 2010-04-12 at 17:16 -0500, Ted Zlatanov wrote: >> In my checkout, nodetool can't load the schemas as the wiki suggests >> for 0.6 upgrades. Is that coming or planned? Or is the user supposed >> to put together their own JMX invoc

Re: loading schema in trunk

2010-04-12 Thread Eric Evans
On Mon, 2010-04-12 at 17:16 -0500, Ted Zlatanov wrote: > In my checkout, nodetool can't load the schemas as the wiki suggests > for 0.6 upgrades. Is that coming or planned? Or is the user supposed > to put together their own JMX invocation manually? I can't see where the wiki suggests that. Thi

Re: loading schema in trunk

2010-04-12 Thread Ted Zlatanov
On Mon, 12 Apr 2010 13:08:29 -0500 Ted Zlatanov wrote: >>> In trunk, the schema is loaded through Thrift. Is there a way to load >>> it from the storage-conf.xml AKA cassandra.xml file without writing >>> custom code? In my checkout, nodetool can't load the schemas as the wiki suggests for 0.6

Re: loading schema in trunk

2010-04-12 Thread Ted Zlatanov
On Mon, 12 Apr 2010 12:39:49 -0500 Eric Evans wrote: EE> On Mon, 2010-04-12 at 11:50 -0500, Ted Zlatanov wrote: >> In trunk, the schema is loaded through Thrift. Is there a way to load >> it from the storage-conf.xml AKA cassandra.xml file without writing >> custom code? EE> http://wiki.apache

Re: loading schema in trunk

2010-04-12 Thread Eric Evans
On Mon, 2010-04-12 at 11:50 -0500, Ted Zlatanov wrote: > In trunk, the schema is loaded through Thrift. Is there a way to load > it from the storage-conf.xml AKA cassandra.xml file without writing > custom code? http://wiki.apache.org/cassandra/LiveSchemaUpdates -- Eric Evans eev...@rackspace.c

loading schema in trunk

2010-04-12 Thread Ted Zlatanov
In trunk, the schema is loaded through Thrift. Is there a way to load it from the storage-conf.xml AKA cassandra.xml file without writing custom code? Thanks Ted