Re: Data not replicating to all datacenters

2012-12-05 Thread Tomas Nunez
2012/12/3 Owen Davies > cassandra-topology.properties > > 192.168.1.1=dc1:rack1 > 192.168.1.2=dc1:rack1 > 192.168.1.3=dc1:rack1 > > 192.168.2.1=dc2:rack1 > 192.168.2.2=dc2:rack1 > 192.168.2.3=*dc3*:rack1 > This is a typo, right? It says "dc2" in your

Re: Data not replicating to all datacenters

2012-12-05 Thread Owen Davies
My bad, yes it does say dc2 in our config file (actually it is different ip addresses and different names, but I wasn't sure if it was sensitive information so changed it to generic terms). Owen On 5 December 2012 08:42, Tomas Nunez wrote: > > > 2012/12/3 Owen Davies > >> cassandra-topology.pr

Re: Help on MMap of SSTables

2012-12-05 Thread Ravikumar Govindarajan
Thanks Aaron, I am not quite clear on how MMap loads SSTables other than the fact that it kicks in only during a first-time access Is it going to load only relevant pages per SSTable on read or is it going to load an entire SSTable on first access? Say suppose compaction kicks in. Will it then e

cannot parse 'name' as hex bytes

2012-12-05 Thread Yogesh Dhari
Hi all, I am very new to Cassandra, I am using version-1.1.7 and followed the steps on single node machine mention in GETTING STARTED. I have created key-space named as Demo and then tried to create column family names Work as [default@DEMO] create column family Work ; 5c85706f-87fe-38f1-b23f

entire range of node out of sync -- out of the blue

2012-12-05 Thread Andras Szerdahelyi
hi list, AntiEntropyService started syncing ranges of entire nodes ( ?! ) across my data centers and i'd like to understand why. I see log lines like this on all my nodes in my two ( east/west ) data centres... INFO [AntiEntropySessions:3] 2012-12-05 02:15:02,301 AntiEntropyService.java (line

Re: Freeing up disk space on Cassandra 1.1.5 with Size-Tiered compaction.

2012-12-05 Thread Alexandru Sicoe
Hi guys, Sorry for the late follow-up but I waited to run major compactions on all 3 nodes at a time before replying with my findings. Basically we were successful on two of the nodes. They both took ~2 days and 11 hours to complete and at the end we saw one very large file ~900GB and the rest muc

Re: cannot parse 'name' as hex bytes

2012-12-05 Thread Edward Sargisson
You're not casting the types. Cassandra stores everything as bytes. You either need to set the key_validation_class to UTF8Type or use the utf8() function to convert. http://www.datastax.com/docs/1.1/dml/using_cli On 12-12-05 03:14 AM, Yogesh Dhari wrote: Hi all, I am very new to Cassandra

What is substituting keys_cached column family argument

2012-12-05 Thread Roman Yankin
Problem: If I do something like this in Cassandra 1.1.7 I would get IAE: create column family travelers with keys_cached=100 and column_metadata=[{column_name: t, validation_class: UTF8Type, index_type: KEYS}]; java.lang.IllegalArgumentException: No enum const class org.apache.cassandra.cli

Re: [BETA RELEASE] Apache Cassandra 1.2.0-beta3 released

2012-12-05 Thread Andrey Ilinykh
Hello, everybody! I have read blog about atomic batches in 1.2 http://www.datastax.com/dev/blog/atomic-batches-in-cassandra-1-2 It mentioned that atomic batches are by default starting 1.2. Also it said CQL allows to switch it off. How can I manipulate this setting using thrift API? Thank you, A

how to take consistant snapshot?

2012-12-05 Thread Andrey Ilinykh
Hello, everybody! I have production cluster with incremental backup on and I want to clone it (create test one). I don't understand one thing- each column family gets flushed (and copied to backup storage) independently. Which means the total snapshot is inconsistent. If I restore from such snapsho

Re: What is substituting keys_cached column family argument

2012-12-05 Thread Rob Coli
On Wed, Dec 5, 2012 at 9:06 AM, Roman Yankin wrote: > In Cassandra v 0.7 there was a column family property called keys_cached, now > it's gone and I'm struggling to understand which of the below properties it's > now substituted (if substituted at all)? Key and row caches are global in modern

reversed=true for CQL 3

2012-12-05 Thread Shahryar Sedghi
Hi Is there a keyword with the same functionality as reversed=True or CQL 3 on Cassandra 1.1.6? Thanks in advance Shahryar -- "Life is what happens while you are making other plans." ~ John Lennon

Re: Loading SSTables failing via Cassandra SSTableLoader on mulit-node cluster.

2012-12-05 Thread aaron morton
Have you checked the yaml configuration for the sstableloader ? Background configuration section here http://www.datastax.com/dev/blog/bulk-loading Hope that helps. - Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 5/12/201

Re: reversed=true for CQL 3

2012-12-05 Thread Rob Coli
On Wed, Dec 5, 2012 at 3:59 PM, Shahryar Sedghi wrote: > Is there a keyword with the same functionality as reversed=True or CQL 3 on > Cassandra 1.1.6? https://issues.apache.org/jira/browse/CASSANDRA-4004 =Rob -- =Robert Coli AIM>ALK - rc...@palominodb.com YAHOO - rcoli.palominob SKYPE - rcoli

Re: Help on MMap of SSTables

2012-12-05 Thread aaron morton
Background http://en.wikipedia.org/wiki/Memory-mapped_file > Is it going to load only relevant pages per SSTable on read or is it going to > load an entire SSTable on first access? It will load what is requested, and maybe some additional data taking into account the amount of memory available f

Re: entire range of node out of sync -- out of the blue

2012-12-05 Thread aaron morton
> - how do i stop repair before i run out of storage? ( can't let this finish ) To stop the validation part of the repair… nodetool -h localhost stop VALIDATION The only way I know to stop streaming is restart the node, their may be a better way though. > INFO [AntiEntropySessions:3] 2012-

Re: Freeing up disk space on Cassandra 1.1.5 with Size-Tiered compaction.

2012-12-05 Thread aaron morton
> Basically we were successful on two of the nodes. They both took ~2 days and > 11 hours to complete and at the end we saw one very large file ~900GB and the > rest much smaller (the overall size decreased). This is what we expected! I would recommend having up to 300MB to 400MB per node on a re

Re: Loading SSTables failing via Cassandra SSTableLoader on mulit-node cluster.

2012-12-05 Thread Pradeep Kumar Mantha
Hi, I followed the configuration section of the blog post. I used 3 nodes of the cluster which share common space/filesystem. "sstableloader uses the Cassandra gossip subsystem. It thus requires a directory containing acassandra.yaml configuration file in the classpath. (If you use sstableloader

Re: [BETA RELEASE] Apache Cassandra 1.2.0-beta3 released

2012-12-05 Thread aaron morton
There are two thrift calls, batch_mutate and atomic_batch_mutate . Check with your favourite thrift client to see how it handles it. Cheers - Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 6/12/2012, at 7:31 AM, Andrey Iliny

Re: Help on MMap of SSTables

2012-12-05 Thread Ravikumar Govindarajan
Thanks Aaron, I found the implementation in CLibrary.trySkipCache() method which uses fadvise DONTNEED flag after going through https://issues.apache.org/jira/browse/CASSANDRA-1470 I also came across the link mentioned in JIRA http://blog.mikemccandless.com/2010/06/lucene-and-fadvisemadvise.html?