Re: Bootstrap source code

2010-05-04 Thread Jonathan Ellis
AbstractReplicationStrategy.getWriteEndpoints is where bootstrapping nodes get added as write destinations. On Tue, May 4, 2010 at 6:02 PM, Bill Hastings wrote: > Hi > > I did some more looking. It looks like on bootstrap the token gets added to > the bootstrapTokens list. However there is no cha

Re: Bootstrap source code

2010-05-04 Thread Bill Hastings
Hi I did some more looking. It looks like on bootstrap the token gets added to the bootstrapTokens list. However there is no change to the tokenToEndPointMap. So how do writes make it to the new node. It is only when bootstrap is complete are the tokens removed from bootstrapTokens list added to t

Re: The schema definitions are not picked up....

2010-05-04 Thread Jonathan Ellis
http://wiki.apache.org/cassandra/FAQ#no_keyspaces On Tue, May 4, 2010 at 4:42 PM, Frank Du wrote: > Hey All, > > I updated to latest trunk code, and ran 'bin/cassandra -f'. A warning > message was spitted out: > > WARN 16:42:33, 729 Couldn't detect any schema definitions in local storage. > I hop

Re: The schema definitions are not picked up....

2010-05-04 Thread Brandon Williams
On Tue, May 4, 2010 at 4:42 PM, Frank Du wrote: > Hey All, > > I updated to latest trunk code, and ran 'bin/cassandra -f'. A warning > message was spitted out: > > WARN 16:42:33, 729 Couldn't detect any schema definitions in local storage. > I hope you've got a plan. > > There are only system and

The schema definitions are not picked up....

2010-05-04 Thread Frank Du
Hey All, I updated to latest trunk code, and ran 'bin/cassandra -f'. A warning message was spitted out: WARN 16:42:33, 729 Couldn't detect any schema definitions in local storage. I hope you've got a plan. There are only system and definitions when I trying to show keyspaces. The cassandra.yaml

Re: admin web UI

2010-05-04 Thread Anthony Molinaro
One thing to note about the solution that we created with mondemand, it requires no changes to cassandra, and it works on any long running java process with jmx. We basically have a few pieces 1. a command line JMX client which does 2 things a. dumps a config file with all available jmx stats

Re: admin web UI

2010-05-04 Thread Gary Dusbabek
On Tue, May 4, 2010 at 13:05, Ran Tavory wrote: > IMO there's a good case for both external monitoring tools and per-host > minimalistic interface but I see Eric's point that every piece of code will > require its maintenance. A cluster monitoring tool is definitely required. > An embedded one has

Re: admin web UI

2010-05-04 Thread Pablo Cuadrado
Of course, it would very nice to have some tool out of the box. For the 2nd point, an external tool can be fast enough to know what's happening now. There could be a cluster monitoring part, and a per-node monitoring interface, from the same tool. That was my goal at least... On Tue, May 4, 2010

Re: admin web UI

2010-05-04 Thread Ran Tavory
IMO there's a good case for both external monitoring tools and per-host minimalistic interface but I see Eric's point that every piece of code will require its maintenance. A cluster monitoring tool is definitely required. An embedded one has two nice properties: 1. It works out of the box 2. If I

Re: admin web UI

2010-05-04 Thread Pablo Cuadrado
Anthony, very nice to see this, this is exactly the kind of thing I've started on a web UI! I'll try to get more things done this week and post it somewhere for those who are interested. On Tue, May 4, 2010 at 2:49 PM, Anthony Molinaro wrote: > And just to show you what the dashboards look like

Re: admin web UI

2010-05-04 Thread Anthony Molinaro
And just to show you what the dashboards look like here's a couple of screen shots Jconsole like page of jvm stats http://herbie.ddv.com/~anthonym/mondemand-2.png Cassandra specific memtable stats http://herbie.ddv.com/~anthonym/mondemand-1.png -Anthony On Tue, May 04, 2010 at 10:03:52AM -0700,

Re: admin web UI

2010-05-04 Thread Michael Lum
On 5/4/2010 7:21 AM, Eric Evans wrote: On Tue, 2010-05-04 at 08:41 +0300, Ran Tavory wrote: How about the following compromise: Add a simple web server to each node with only one simple servlet that simply spits out all JMX stats on one page. Not fancy, no graphs, simply the same values you can

Re: admin web UI

2010-05-04 Thread Pablo Cuadrado
Hi! I was working on a separate monitoring client, and not a per-node approach. At the time, we talked on having a single server that queries the nodes on a Cassandra cluster. There's some discussions on the list, about technologies being used, etc. I was pretty busy these last weeks (and some da

Re: admin web UI

2010-05-04 Thread Eric Evans
On Tue, 2010-05-04 at 08:41 +0300, Ran Tavory wrote: > How about the following compromise: > Add a simple web server to each node with only one simple servlet that > simply spits out all JMX stats on one page. Not fancy, no graphs, > simply the same values you can get from jconsole, but on a web pa