Re: C++ Thrift client

2013-05-21 Thread aaron morton
> Aaron, whenever I get a GCInspector event log, will it means that I'm having > a GC pause? Messages about ParNew are GS pauses that went over 200ms. CMS GC has to relatively small pauses during it's cycle. All ParNew GC pauses the application threads, Cassandra is just logging the ones that

Re: Multiple cursors

2013-05-21 Thread aaron morton
> We were successfully using a sync thrift client. With it we could send > multiple requests through the single connection and wait for answers. > > Can you provide an example ? With sync the server thread that handles your client socket blocks waiting for the request to complete. There is a

Re: Cassandra read reapair

2013-05-21 Thread aaron morton
> Only some keys of one CF are corrupt. Checking you do not mean the row key is corrupt and cannot be read. > I thought using CF ALL, would correct the problem with READ REPAIR, but by > returning to CL QUORUM, the problem persists. > By default in 1.X and beyond the default read repair chanc

Re: Repair of tombstones

2013-05-21 Thread aaron morton
Because that ticket is closed I think they best way to have a conversation is to create a new ticket to back port it to 1.1. Given that 1.2 has been out for a while it may be a tough sell, and it depends on the complexity of the back port. But on the other side https://issues.apache.org/jira/b

Re: Logging Cassandra queries

2013-05-21 Thread aaron morton
> (but still the list of classes would be helpful :) ) The source code is the most up to date list of the classes. This is a talk I did on Cassandra Internals at Apache Con in Feb 2013, unfortunately it looks like the videos will never be released owing to technical snafu's http://www.slideshar

Re: Cassandra read reapair

2013-05-21 Thread Kais Ahmed
> Checking you do not mean the row key is corrupt and cannot be read. Yes, i can read it but all read don't return the same result except for CL ALL > By default in 1.X and beyond the default read repair chance is 0.1, so it's only enabled on 10% of requests. You are right read repair chance is se

Cassandra hangs on large hinted handoffs

2013-05-21 Thread Vladimir Volkov
Hello. I'm stress-testing our Cassandra (version 1.0.9) cluster, and tried turning off two of the four nodes for half an hour under heavy load. As a result I got a large volume of hints on the alive nodes - HintsColumnFamily takes about 1.5 GB disk space on each of the nodes. It seems, these hints

Re: Problem with streaming data from Hadoop: DecoratedKey(-1, )

2013-05-21 Thread Michal Michalski
I've finally had some time to experiment a bit with this problem (it occured twice again) and here's what I found: 1. So far (three occurences in total), *when* it happened, it happened only for streaming to *one* specific C* node (but it works on this node too for 99,9% of the time) 2. It ha

bootstrapping a new node...

2013-05-21 Thread Hiller, Dean
We are using 1.2.2 cassandra and have rolled on 3 additionals nodes to our 6 node cluster(totalling 9 so far). We are trying to roll on node 10 but during the streaming a compaction kicked off which seemed very odd to us. "nodetool netstats" still reported tons of files that were not transferr

Re: Repair of tombstones

2013-05-21 Thread Edward Capriolo
I would not make any bets on 1.1. Ironically 1.1 seems to be fairly stable and 1.2.X has been a bit "hairly" in terms of the releases and the scope of the bugs fixed in each of the minors. However not having many shiny new buttons makes the release less attractive I guess. On Tue, May 21, 2013 at 4

Cassandra 1.2 TTL histogram problem

2013-05-21 Thread cem
Hi all, I have a question about ticket https://issues.apache.org/jira/browse/CASSANDRA-3442 Why does Cassandra single table compaction skips the keys that are in the other sstables? Please correct if I am wrong. I also dont understand why we have this line in worthDroppingTombstones method: dou

Re: Cassandra 1.2 TTL histogram problem

2013-05-21 Thread Yuki Morishita
> Why does Cassandra single table compaction skips the keys that are in the > other sstables? because we don't want to resurrect deleted columns. Say, sstable A has the column with timestamp 1, and sstable B has the same column which deleted at timestamp 2. Then if we purge that column only from

Re: Cassandra 1.2 TTL histogram problem

2013-05-21 Thread cem
Thank you very much for the swift answer. I have one more question about the second part. Can method calculate non-overlapping keys as overlapping? I mean it uses max and min tokens and column count. They can be very close to each other if random keys are used. In my use case I generate a GUID fo