Minor point on FailureDetector

2010-07-13 Thread Masood Mortazavi
In FailureDetector, in ArrivalWindow, in "double p(double t)", is return 1 - ( 1 - Math.pow(Math.E, exponent) ); really needed, instead of return Math.pow(Math.E, exponent) ; I believe the integral of the the Exponential Distribution from "t" to infinity leads to the latter val

Re: Reviewing . . . RackAwareStrategy.java . . . ( rev 954657 )

2010-06-21 Thread Masood Mortazavi
On Tue, Jun 15, 2010 at 12:47 PM, Masood Mortazavi < masoodmortaz...@gmail.com> wrote: > On Tue, Jun 15, 2010 at 10:55 AM, Jonathan Ellis wrote: > >> On Mon, Jun 14, 2010 at 11:03 PM, Masood Mortazavi >> wrote: >> > The comment on the top of RackAwareStrategy sa

Test Logs

2010-06-15 Thread Masood Mortazavi
For revision 955080 "ant test" builds with no failures on Mac OS-X 10.6.2 It fails on Windows XP 2002 SP3. Does running target "test" log anything anywhere? - m.

Re: Reviewing . . . RackAwareStrategy.java . . . ( rev 954657 )

2010-06-15 Thread Masood Mortazavi
On Tue, Jun 15, 2010 at 10:55 AM, Jonathan Ellis wrote: > On Mon, Jun 14, 2010 at 11:03 PM, Masood Mortazavi > wrote: > > The comment on the top of RackAwareStrategy says: > > You are correct. RAS sort of works under other conditions but it is > primarily intended for 2

Reviewing . . . RackAwareStrategy.java . . . ( rev 954657 )

2010-06-14 Thread Masood Mortazavi
Hi, Ran into this as I was going through the new config files for data centers and racks. (I may have some comments on those configuration models but will send them later.) Turning to RackAwareStrategy.java: The comment on the top of RackAwareStrategy says: /* * This Replication Strategy retur

Replication Factor and Data Centers

2010-06-14 Thread Masood Mortazavi
Is the clearer interpretation of this statement (in conf/datacenters.properties) given anywhere else? # The sum of all the datacenter replication factor values should equal # the replication factor of the keyspace (i.e. sum(dc_rf) = RF) # keyspace\:datacenter=replication factor Keyspace1\:DC1=3 K

Re: Generated code?

2010-06-14 Thread Masood Mortazavi
On Mon, Jun 14, 2010 at 9:04 PM, David Strauss wrote: > On 2010-06-15 03:58, Masood Mortazavi wrote: > > Hi, > > > > My assumption is that what one finds in > > > > interface/thrift/gen-java > > > > is actually generated code. > >

Generated code?

2010-06-14 Thread Masood Mortazavi
Hi, My assumption is that what one finds in interface/thrift/gen-java is actually generated code. If so, why is it checked in as source under SVN? (Certainly, the avro generated code doesn't seem to be checked in.) Regards, Masood

JIRA update notifications ...

2010-04-21 Thread Masood Mortazavi
I never see any JIRA update notifications on dev@cassandra.apache.org (In fact, there seems to be no automated dev notifications there.) This may be by intent. If so, are the JIRA updates directed elsewhere? Is there another target e-mail alias? Sending JIRA notifications to an e-mail addre

Re: 0.6 insert performance .... Re: [RELEASE] 0.6.1

2010-04-20 Thread Masood Mortazavi
-Dcom.sun.management.jmxremote.authenticate=false" > > > On Tue, Apr 20, 2010 at 5:46 AM, Masood Mortazavi < > masoodmortaz...@gmail.com> wrote: > >> Minimizing GC pauses or minimizing time slots allocated to GC pauses -- >> either through configuration or r

Re: 0.6 insert performance .... Re: [RELEASE] 0.6.1

2010-04-19 Thread Masood Mortazavi
as well with 0.6, heap usage graphs look almost > identical. The GC is a noticeable bottleneck, we’ve tried jdku19 and jrockit > vm’s. It basically kills any kind of soft real time behavior. > > > > *From:* Masood Mortazavi [mailto:masoodmortaz...@gmail.com] > *Sen

0.6 insert performance .... Re: [RELEASE] 0.6.1

2010-04-19 Thread Masood Mortazavi
I wonder if anyone can use: * Add logging of GC activity (CASSANDRA-813) to confirm this: http://www.slideshare.net/schubertzhang/cassandra-060-insert-throughput - m. On Sun, Apr 18, 2010 at 6:58 PM, Eric Evans wrote: > > Hot on the trails of 0.6.0 comes our latest, 0.6.1. This stable point