Re: Reducing confusion around client libraries

2010-12-03 Thread Ran Tavory
As developer of one of the client libraries I can say that competition keeps us the library maintainers healthy and in the long run creates more value to the users so we should keep competition fair. I can certainly see Jonathan's point regarding the level of confusion b/w newcomers and I'm all for

Re: OOM when running hector's unit tests at 0.7.0

2010-09-25 Thread Ran Tavory
FYI, when I increase the test memory to 1G to resemble the default setting in cassandra the OOM doesn't happen, so that's a non-issue. On Sat, Sep 18, 2010 at 9:02 PM, Ran Tavory wrote: > I haven't tried the python tests. What's also interesting is that if I > run a

Re: OOM when running hector's unit tests at 0.7.0

2010-09-18 Thread Ran Tavory
> class does an add, rename then drop for both CF and keyspace. >> >> On 9/18/10, Ran Tavory wrote: >>> I started seeing OOM when running hector's unit-tests on 0.7.0. The OOM >>> is >>> in cassandra's code so either there had been recent c

Re: OOM when running hector's unit tests at 0.7.0

2010-09-18 Thread Ran Tavory
t; > On 9/18/10, Ran Tavory wrote: >> I started seeing OOM when running hector's unit-tests on 0.7.0. The OOM is >> in cassandra's code so either there had been recent changes within cassandra >> or it's just that we added new coverage which causes this OOM. >

OOM when running hector's unit tests at 0.7.0

2010-09-18 Thread Ran Tavory
I started seeing OOM when running hector's unit-tests on 0.7.0. The OOM is in cassandra's code so either there had been recent changes within cassandra or it's just that we added new coverage which causes this OOM. On my mac it's 100% repro but other hector devs have reported they don't get this O

Re: Client developer mailing list

2010-08-30 Thread Ran Tavory
awesome, thanks, I'm subscribed :) On Mon, Aug 30, 2010 at 10:05 PM, Jeremy Hanna wrote: > There has been a new mailing list created for those who are working on > Cassandra clients above thrift and/or avro. You can subscribe by sending an > email to client-dev-subscr...@cassandra.apache.org or

Re: Creating two instances in code

2010-08-17 Thread Ran Tavory
t; experience simliar to yours. At the time there wasn't much interest > > in seeing it through to fruition, but maybe times have changed. > > any lack of interest in solving these problems just means that people > haven't stumbled on these problems yet :-) > ...but eve

Re: 3-node balanced system

2010-06-17 Thread Ran Tavory
so bc and ruby agree ;) On Thu, Jun 17, 2010 at 10:20 PM, Benjamin Black wrote: > in ruby: > > def token(nodes) 1.upto(nodes) {|i| p (2**127/nodes) * i}; end > > >> token(3) > 56713727820156410577229101238628035242 > 113427455640312821154458202477256070484 > 1701411834604692317316873037158841057

Re: 3-node balanced system

2010-06-17 Thread Ran Tavory
+ user, - dev (bcc actually) If you use a random partitioner use the following InitialToken for your nodes: $ bc bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. (2^127)/3 *5671372782015641

Re: Web console application

2010-05-17 Thread Ran Tavory
right on! at least the screenshots look cool. On Mon, May 17, 2010 at 6:20 PM, Suguru Namura < namura_sug...@cyberagent.co.jp> wrote: > Hi, > > I am developing the web application that can monitor and manage > cassandra cluster. Recently I have published it as open source under > the ASL2.0. It w

Re: Programmable configuration in embedded cassandra

2010-05-17 Thread Ran Tavory
You are correct. See http://svn.apache.org/repos/asf/cassandra/trunk/src/java/org/apache/cassandra/service/EmbeddedCassandraService.javaand http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/ afaik currently only a configuration file is supported, although with the next rele

Re: admin web UI

2010-05-09 Thread Ran Tavory
I created this, hope it fits your expectations https://issues.apache.org/jira/browse/CASSANDRA-1068 patch is attached to the bug and ready for review 2010/5/7 Ted Zlatanov > On Fri, 7 May 2010 09:24:40 +0200 gabriele renzi > wrote: > > gr> On Thu, May 6, 2010 at 7:00 PM, Nathan McCall > wrote:

Re: admin web UI

2010-05-06 Thread Ran Tavory
o that without having to run two processes. On Thu, May 6, 2010 at 10:15 AM, gabriele renzi wrote: > On Wed, May 5, 2010 at 12:00 PM, Ran Tavory wrote: > > can you send it to me? I'll try to work from it. > > I updated it to trunk, moved the code into a method and added a

Re: admin web UI

2010-05-05 Thread Ran Tavory
can you send it to me? I'll try to work from it. On Wed, May 5, 2010 at 12:25 PM, gabriele renzi wrote: > On Tue, May 4, 2010 at 8:09 PM, Gary Dusbabek wrote: > > > I agree: there is a place for both types of solutions. contrib is > > probably best place (for both). > > > > IMO: jetty > tomcat

Re: admin web UI

2010-05-04 Thread Ran Tavory
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, Michael Lum wrote: > > On 5/4/2010 7:21 AM, Eric Evans wrote: > > >On Tue, 2010-05-04 at 08:

Re: admin web UI

2010-05-03 Thread Ran Tavory
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 page. To me it seems like a fair tradeoff b/w maintenance and e

admin web UI

2010-05-03 Thread Ran Tavory
I'd be happy to get a management web interface on each cassandra node so i can easily (and visually) see what's going on with the node. Things like all the properties currently exposed by JMX and perhaps some graphs. I'd like to simply browse to http://cassandra1:12345/monitor and view the data and

Re: how to delete data

2010-05-02 Thread Ran Tavory
I've added the JMX work to StorageService and NodeTool so this work is done, ready for final review, thanks https://issues.apache.org/jira/secure/attachment/12443404/CASSANDRA-531.patch On Sun, May 2, 2010 at 12:05 AM, Ran Tavory wrote: > alright, I've uploaded another patch with

Re: how to delete data

2010-05-01 Thread Ran Tavory
> > Gary. > > On Wed, Apr 28, 2010 at 06:49, Ran Tavory wrote: > > Thanks Gary, can you send a code pointer how snapshot is done? > > > > On Wed, Apr 28, 2010 at 2:46 PM, Gary Dusbabek > wrote: > >> > >> I think it's in the right direction.

Re: how to delete data

2010-04-28 Thread Ran Tavory
hink of anything else. > > As for the files, it's probably best to snapshot before truncating. > That's the approach I was encouraged to take for the DROP CF > operation. > > Gary. > > On Wed, Apr 28, 2010 at 03:59, Ran Tavory wrote: > > Finally I found the

Re: how to delete data

2010-04-28 Thread Ran Tavory
chment/12443055/CASSANDRA-531.patch <https://issues.apache.org/jira/secure/attachment/12443055/CASSANDRA-531.patch> Thanks On Thu, Mar 25, 2010 at 9:32 PM, Jonathan Ellis wrote: > Commented on the Jira issue. > > Curious how badly out of date that patch is now. :) > > On Wed,

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

2010-04-08 Thread Ran Tavory
+1 For boon. I kinda liked it... On Apr 8, 2010 3:03 PM, "Jeff Schmitz" wrote: That typo in subject line was driving me nuts Sent from my iPhone On Apr 8, 2010, at 2:04 AM, gabriele renzi wrote: 2010/4/7 Peter Schüller : > >> (bloomfilters, not boonfilters) >> >> Speaking in general, not sp