Re: Removed node, jumps back into the cluster

2012-09-12 Thread Fredrik Stigbäck
Wrong assumption of me. I found the answer in GossipDigestSynVerbHandler. I forgot to change the cluster name of the new cluster. /Fredrik 2012/9/11 Fredrik : > I've tested a scenario where I wanted to reuse a removed node in a new > cluster with same IP, maybe not very common but anyway, found s

Denormalization

2013-01-27 Thread Fredrik Stigbäck
Hi. Since denormalized data is first-class citizen in Cassandra, how to handle updating denormalized data. E.g. If we have a USER cf with name, email etc. and denormalize user data into many other CF:s and then update the information about a user (name, email...). What is the best way to handle up

Re: Denormalization

2013-01-27 Thread Fredrik Stigbäck
t really > depends on specific use-cases. To get better help on the email list, a > more specific use case may be appropriate. > > Dean > > On 1/27/13 2:03 PM, "Fredrik Stigbäck" > wrote: > >>Hi. >>Since denormalized data is first-class citizen in

Reading quorum

2011-06-03 Thread Fredrik Stigbäck
Does reading quorum mean only waiting for quorum respones or does it mean quorum respones with same latest timestamp? Regards /Fredrik

NullPointerException doing cleanup

2011-09-13 Thread Fredrik Stigbäck
Trying to do a nodetool cleanup but gets a NullPointerException. I've done some debugging and found out that the property org.apache.cassandra.db.compaction.PrecompactedRow.compactedCf is initilaized to null since ColumnFamilyStore.removeDeleted(ColumnFamily, int) returns null which I interpret as

Re: NullPointerException doing cleanup

2011-09-13 Thread Fredrik Stigbäck
Thanks. Will upgrade to 0.8.5. Regards /Fredrik 2011/9/13 Sylvain Lebresne > This should be fixed in 0.8.5 (more precisely by > https://issues.apache.org/jira/browse/CASSANDRA-3039) > > -- > Sylvain > > On Tue, Sep 13, 2011 at 12:53 PM, Fredrik Stigbäck > wrote: >

replication factor > no nodes

2011-09-19 Thread Fredrik Stigbäck
What is the implication of having a replication factor greater that the number of nodes in cluster? We're changing replication factor at runtime and sometimes when a node is removed/decomissioned from the cluster, replication factor will be greater than number of nodes since we have replication fac

Commit log grows and grows

2011-11-01 Thread Fredrik Stigbäck
I have a problem or at least something that I have missed to understand regarding commit log removal. I'm running cassandra 1.0.1 but have seen the same "thing" in 1.0. I thought that when a node is flushed or drained, it's memtable is flushed to disk and the commit log is removed and new commit lo

Re: Question regarding major compaction.

2012-05-01 Thread Fredrik Stigbäck
Thank you Aaron. That explanation cleared things up. 2012/4/30 aaron morton : > Depends on your definition of significantly, there are a few things to > consider. > > * Reading from SSTables for a request is a serial operation. Reading from 2 > SSTables will take twice as long as 1. > > * If the d

JNA on Windows

2012-07-05 Thread Fredrik Stigbäck
Hello. I have a question regarding JNA and Windows. I read about the problem that when taking snapshots might require the process space x 2 due to how hardlinks are created. Is JNA for Windows supported? Looking at jira issue https://issues.apache.org/jira/browse/CASSANDRA-1371 looks like it but ch

Re: mmaped files and swap

2013-03-13 Thread Fredrik Stigbäck
Well, we've seen a Cassandra process swap out 500 MB on a Linux OS with plenty of RAM, so I was just curious as why the OS thinks it should use the swap at all. 2013/3/13 karim duran : > I agree with Edward Capriolo, > Even when swap is enabled on your system, swaping rarely occurs on OS > today..