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

Re: Generated code?

2010-06-14 Thread David Strauss
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. > > If so, why is it checked in as source under SVN? > > (Certainly, the avro generated code doesn't seem to be checked in.) > > R

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. > > > > If so, why is it checked in as source under SVN? > > > >

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

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

Max number of connections

2010-06-14 Thread Lev Stesin
Hi, How many connections does one node support? Is it configurable property? Thanks. -- Lev

Re: Max number of connections

2010-06-14 Thread Brandon Williams
On Tue, Jun 15, 2010 at 1:19 AM, Lev Stesin wrote: > Hi, > > How many connections does one node support? Is it configurable property? > Thanks. > As many as a node can reasonably handle in a thread-per-connection model: many thousands on a decent OS. -Brandon