Re: size tiered compaction - improvement

2012-04-14 Thread Radim Kolar
Dne 4.4.2012 6:52, Igor napsal(a): Here is small python script I run once per day. You have to adjust size and/or age limits in the 'if' operator. Also I use mx4j interface for jmx calls. forceUserDefinedCompaction would be more usefull if you could do compaction on 2 tables. If i run it on sin

Re: size tiered compaction - improvement

2012-04-14 Thread Igor
I'll try to explain in more details: Assume I insert all my data with TTL=2weeks and let we have sstable A which was created week ago at the time T, so I know that right now it contain: 1) some data that were inserted not later than T and may-be not expired yet 2) some amount of data that wer

Re: swap grows

2012-04-14 Thread R. Verlangen
Its recommended to disable swap entirely when you run Cassandra on a server. 2012/4/14 ruslan usifov > I forgot to say that system have 24GB of phis memory > > > 2012/4/14 ruslan usifov > >> Hello >> >> We have 6 node cluster (cassandra 0.8.10). On one node i increase java >> heap size to 6GB,

Re: swap grows

2012-04-14 Thread ruslan usifov
I know:-) but this is not answer:-(. I found that on other nodes there still about 3GB (on node with JAVA_HEAP=6GB free memory also 3GB) of free memory but there JAVA_HEAP=5G, so this looks like some sysctl (/proc/sys/vm???) ratio (about 10%(3 / 24 * 100)), i don't known which, anybody can explain

Re: swap grows

2012-04-14 Thread R. Verlangen
Maybe it has got something to do with "swapiness", it's something you can configure, more info here: https://www.linux.com/news/software/applications/8208-all-about-linux-swap-space 2012/4/14 ruslan usifov > I know:-) but this is not answer:-(. I found that on other nodes there > still about 3G

Re: insert data in cassandra from .net..

2012-04-14 Thread aaron morton
> but using insert query of cql is not working because i have fields in my > table which has null values for the columns and cassandra would not take null > values. You do not need to insert the null values. How they are handled depends on the .net client you are using. If you really want to i

Re: swap grows

2012-04-14 Thread aaron morton
From https://help.ubuntu.com/community/SwapFaq " swappiness=0 tells the kernel to avoid swapping processes out of physical memory for as long as possible " If you have swap enabled at some point the OS may swap out pages, even if swappiness is 0 and you have free memory. Disable swap entirely if

Re: insert data in cassandra from .net..

2012-04-14 Thread puneet loya
Thnx a lot :) :) On Sat, Apr 14, 2012 at 11:59 PM, aaron morton wrote: > but using insert query of cql is not working because i have fields in my > table which has null values for the columns and cassandra would not take > null values. > > You do not need to insert the null values. How they are h

Running mapreduce on Cassandra data using Hector

2012-04-14 Thread Rajat Mathur
Hi, I am new to cassandra and using *Hector* for writing code. I am having trouble with running mapreduce in distributed(pseduo) mode. My OutputFormat is ColumnFamilyOutputFormat but it doesn't write the output there and also it runs M-R jobs in local mode. I suppose as in Word-count example I hav