Re: Maybe OT

2011-06-19 Thread Jonathan Ellis
It's vanilla Thrift release these days, 0.6 On Sat, Jun 18, 2011 at 11:52 PM, Bill Hastings bllhasti...@gmail.com wrote: I was wondering if the datastax folks could please share their settings for the thrift build. We would like to make some additions/changes to thrift and have basic build

MR-hook for sstable compaction?

2011-06-19 Thread Yang
I realize that the SSTable flush/compaction process is essentially equivalent to the reduce stage of Map-Reduce, since entries of same keys are grouped together. we have felt the need to do MR-style jobs on the data already stored in cassandra, it would be very useful to provide a hook into the

Re: MR-hook for sstable compaction?

2011-06-19 Thread Jonathan Ellis
I'm skeptical that this is the right place to do M/R jobs (multiple replicas mean you'll do the work multiple times, if you have the same code on all nodes... and different code on the nodes could get messy fast.) But, the work-in-progress patches on CASSANDRA-1608 include a compaction pub/sub

Re: Cassandra.yaml

2011-06-19 Thread aaron morton
The change to the remove the calls to DatabaseDecriptor were in this commit on the 0.8 branch https://github.com/apache/cassandra/commit/fe122c8c7d9ca0f002d5f394b4414dc91f278d1f It looks like it did not make it over to the 0.8.0 branch

Re: MR-hook for sstable compaction?

2011-06-19 Thread Yang
Thanks Jonathan. yes I did notice the RF issue, and thought , for example, to get a total salary, you'd need to divide it by RF, something like that. I'll take a look at 1608, Yang On Sun, Jun 19, 2011 at 12:12 AM, Jonathan Ellis jbel...@gmail.com wrote: I'm skeptical that this is the right

Re: MemoryMeter uninitialized (jamm not specified as java agent)

2011-06-19 Thread aaron morton
What do you get for $ java -version java version 1.6.0_24 Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326) Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode) Also you can check if the wrapper has correctly detected things with ps aux | grep javaagent The args

Re: Re : last record rowId

2011-06-19 Thread aaron morton
get_range_slice() api call allows you to iterate of the keys in the DB. Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 18 Jun 2011, at 05:00, karim abbouh wrote: is there any way to remember the keys (rowId) inserted in

Re: Error trying to move a node - 0.7

2011-06-19 Thread aaron morton
I *think* someone had a similar problem once before, moving a node that was the only node in a DC. Whats version are you using ? - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 17 Jun 2011, at 07:42, Ben Frank wrote: Hi All, I'm

framed transport and buffered transport

2011-06-19 Thread Donna Li
All: What is the difference of framed transport and buffered transport? And what is the advantage and disadvantage of the two different transports? Thanks Donna li

Re: framed transport and buffered transport

2011-06-19 Thread Jonathan Ellis
The most important difference is that only framed is supported in 0.8+ On Sun, Jun 19, 2011 at 9:27 PM, Donna Li donna...@utstar.com wrote: All:  What is the difference of framed transport and buffered transport? And what is the advantage and disadvantage of the two different transports?

framed transport and buffered transport

2011-06-19 Thread Donna Li
My cassandra version is 0.6.3, what is the advantage of framed transport? -邮件原件- 发件人: Jonathan Ellis [mailto:jbel...@gmail.com] 发送时间: 2011年6月20日 10:56 收件人: user@cassandra.apache.org 主题: Re: framed transport and buffered transport The most important difference is that only framed is