thrift version

2010-04-13 Thread Ran Tavory
which thrift version should I use? on my mac osx: $ thrift -version Thrift version 20080411-r885091 If I compile cassandra.thrift (ant gen-thrift-java) the result is different than what we have in trunk under interface/thrift/gen-java/org/apache/cassandra/thrift/. Many small diffs, so I guess I ha

Re: thrift version

2010-04-13 Thread Sylvain Lebresne
If you look in the lib/ directory of the cassandra source you're using, the libthrift jar has the version number in its name. For 0.6, it is libthrift-r917130.jar for instance. On Tue, Apr 13, 2010 at 1:13 PM, Ran Tavory wrote: > which thrift version should I use? > on my mac osx: > $ thrift -ver

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-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 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 : > > 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 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 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 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 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

dropped keyspace directories

2010-04-13 Thread Ted Zlatanov
Should the dropped keyspace directories, being empty, get rmdir()ed? When I run tests against a server the directory gets polluted but it's not really a bug so I wasn't sure if it's worth a ticket. Ted

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
Some thoughts I've had last night while handling a beer: A web UI for Cassandra, will be sometimes querying remote APIs (JMX, Thrift), for every node in the cluster. So, about the non-blocking/blocking issue that Brandon pointed out: - In a totally synchronous/blocking approach, I expec

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread David Timothy Strauss
Please use something like Tornado. A Cassandra web GUI should not require a heavyweight framework and hopefully nothing other than a Cassandra connection to run. -Original Message- From: Pablo Cuadrado Date: Fri, 9 Apr 2010 11:55:46 To: Subject: python web framework suggestions (for C

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
David: Personally, I'm between Tornado and Pylons. I'm willing to run a few test cases on both scenarios. On Tue, Apr 13, 2010 at 2:27 PM, David Timothy Strauss wrote: > Please use something like Tornado. A Cassandra web GUI should not require a > heavyweight framework and hopefully nothing oth

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread David Timothy Strauss
I would be happy to help get this going on Tornado. I don't have experience with Pylons. -Original Message- From: Pablo Cuadrado Date: Tue, 13 Apr 2010 14:33:11 To: ; Subject: Re: python web framework suggestions (for Cassandra Web UI) needed David: Personally, I'm between Tornado an

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
Well, so far we are: Pylons +3 Tornado +2 Django +1 Undetermined +2 I will do some tests and further research, and then I'll see if I change my vote (now in Pylons) to Tornado. On Tue, Apr 13, 2010 at 3:04 PM, David Timothy Strauss wrote: > I would be happy to help get this going on Torn

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Brandon Williams
On Tue, Apr 13, 2010 at 1:09 PM, Pablo Cuadrado wrote: > Well, so far we are: > > Pylons +3 > Tornado +2 > Django +1 > Undetermined +2 > +1 for pylons. I think a more popular framework is likely to have better chances of being maintained and avoiding bitrot in the long haul. -Brandon

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
Pylons +4 Tornado +2 Django +1 Undetermined +2 Do I smell Pylons? :) On Tue, Apr 13, 2010 at 3:13 PM, Brandon Williams wrote: > On Tue, Apr 13, 2010 at 1:09 PM, Pablo Cuadrado > wrote: > >> Well, so far we are: >> >> Pylons +3 >> Tornado +2 >> Django +1 >> Undetermined +2 >> > > +1 for pylons.

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Ray Slakinski
I'll put in a vote for django, you can use managers to handle a lot of the object code. Ray Slakinski On 2010-04-13, at 2:15 PM, Pablo Cuadrado wrote: > Pylons +4 > Tornado +2 > Django +1 > Undetermined +2 > > Do I smell Pylons? :) > > On Tue, Apr 13, 2010 at 3:13 PM, Brandon Williams wrote:

Re: dropped keyspace directories

2010-04-13 Thread Gary Dusbabek
We might as well fix that. You can file a ticket. 2010/4/13 Ted Zlatanov : > Should the dropped keyspace directories, being empty, get rmdir()ed? > When I run tests against a server the directory gets polluted but it's > not really a bug so I wasn't sure if it's worth a ticket. > > Ted > >

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Paul Bohm
tornado +1 - it's lightweight and has few external dependencies. Pylons +4 Tornado +3 Django +1 Undetermined +2 On Tue, Apr 13, 2010 at 11:29 AM, Ray Slakinski wrote: > I'll put in a vote for django, you can use managers to handle a lot of the > object code. > > Ray Slakinski > > On 2010-04-13,

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Miguel Verde
-1 vote for Tornado. As far as I know, it still doesn't run on Windows and has had only 2 releases. I don't think it makes sense to push that as a dependency to potential deployers of this UI. There are many alternatives with broader platform support and more consistent mainline releases: Bottle

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
Yes, in the big picture, I guess Pylons has a greater community and adoption. On Tue, Apr 13, 2010 at 4:47 PM, Miguel Verde wrote: > -1 vote for Tornado.  As far as I know, it still doesn't run on Windows and > has had only 2 releases.  I don't think it makes sense to push that as a > dependency

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Todd Lipcon
Not going to vote either way, as I haven't contributed to Cassandra in over a year :) But one quick opinion: The big downside I see with Django and other WSGI based frameworks is that it becomes difficult to run "background threads" in a clean way. Someone mentioned this earlier, but worth repeati

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
Todd: Very valuable comments, that's just the kind of problem I believe should be addressed with an asynchronous approach. On Tue, Apr 13, 2010 at 5:20 PM, Todd Lipcon wrote: > Not going to vote either way, as I haven't contributed to Cassandra in over > a year :) But one quick opinion: > > Th

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Eric Florenzano
I think that it's silly to hold this to a vote, frankly. Do the research, weigh the pros and cons, and then make a decision. It's you who's going to be doing the implementation, so the choice is something that you can live with. Holding something like this to a vote is just going to invite flame

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Todd Lipcon
On Tue, Apr 13, 2010 at 1:26 PM, Eric Florenzano wrote: > I think that it's silly to hold this to a vote, frankly. Do the research, > weigh the pros and cons, and then make a decision. It's you who's going to > be doing the implementation, so the choice is something that you can live > with. H

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Eric Florenzano
On Tue, Apr 13, 2010 at 1:20 PM, Todd Lipcon wrote: > > The big downside I see with Django and other WSGI based frameworks is that > it becomes difficult to run "background threads" in a clean way. This can be handled by using Eventlet or GEvent. See the gevent webchat demo, for example, to see

Re: python web framework suggestions (for Cassandra Web UI) needed

2010-04-13 Thread Pablo Cuadrado
People: The "votation" is not relevant, the discussion is, and the reasons that support each vote. And those are itself part of the research I'm doing, and it surely will help in making the decision. But, they are an important part, because I didn't want to make a decision in "solo", since this i