Re: Bootstrap source code

2010-05-05 Thread Bill Hastings
Ah. That makes sense. All nodes start up in bootstrap mode. So on start up where in the code do I need to look to figure out that bootstrap is not required resulting in a call to finishBootstrap(). On Tue, May 4, 2010 at 6:36 PM, Jonathan Ellis wrote: > AbstractReplicationStrategy.getWriteEndpo

Re: About SStable Writer

2010-05-05 Thread Anty
THX schubert. On Thu, May 6, 2010 at 6:56 AM, Jonathan Ellis wrote: > Yes, this is a bug. Patch attached to > https://issues.apache.org/jira/browse/CASSANDRA-1056 > > On Wed, May 5, 2010 at 2:09 AM, Anty wrote: > > HI:All > > > > In source code of 0.6.1 ,in SSTableWriter, > > private void afte

Re: About SStable Writer

2010-05-05 Thread Jonathan Ellis
Yes, this is a bug. Patch attached to https://issues.apache.org/jira/browse/CASSANDRA-1056 On Wed, May 5, 2010 at 2:09 AM, Anty wrote: > HI:All > > In source code of 0.6.1 ,in SSTableWriter, > private void afterAppend(DecoratedKey decoratedKey, long dataPosition, int > dataSize) throws IOExcepti

Re: Is SuperColumn necessary?

2010-05-05 Thread Stu Hood
Hey Ed, I've been working on a similar approach for arbitarily nested/compound column names in #998. See: http://github.com/stuhood/cassandra/blob/998/src/java/org/apache/cassandra/db/ColumnKey.java The goal is to provide native support and potentially (in the very long term), API support for

Re: About SStable Writer

2010-05-05 Thread Schubert Zhang
Hi Jonathan, Could you please have a check this? On Wed, May 5, 2010 at 6:19 PM, Schubert Zhang wrote: > Include dev@cassandra.apache.org > > > On Wed, May 5, 2010 at 3:09 PM, Anty wrote: > >> HI:All >> >> In source code of 0.6.1 ,in SSTableWriter, >> private void afterAppend(DecoratedKey decor

Re: About SStable Writer

2010-05-05 Thread Schubert Zhang
Include dev@cassandra.apache.org On Wed, May 5, 2010 at 3:09 PM, Anty wrote: > HI:All > > In source code of 0.6.1 ,in SSTableWriter, > private void afterAppend(DecoratedKey decoratedKey, long dataPosition, int > dataSize) throws IOException > { > String diskKey = partitioner.convertT

Re: Skip large size (Configurable) SSTable in minor or/and major compaction

2010-05-05 Thread Schubert Zhang
Replace the CASSANDRA-1041-0.6.1.patch. We found it is difficult distinguish major and minor compaction in current codebase. So, only one optional attribute for ColumnFamily is provided here: CompactSkipInGB. Maybe the use whose application need not delete operations can use this patch. On Tue,

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-05 Thread gabriele renzi
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, especially from the point of embedding. FWIW, I had a patch for cassandra that adds an http interface to JMX using