Re: Compacting single file forever

2011-04-21 Thread Jonathan Ellis
I suggest as a workaround making the forceUserDefinedCompaction method ignore disk space estimates and attempt the requested compaction even if it guesses it will not have enough space. This would allow you to submit the 2 sstables you want manually. On Thu, Apr 21, 2011 at 8:34 AM, Shotaro Kamio

Re: Compacting single file forever

2011-04-21 Thread aaron morton
Running at 78% disk capacity is somewhat out there on the edge. The CompactionManager is showing that compactions are backing up. I'm guessing this has to do with the minor compactions not been able compact the list of files they want to, so it cannot reduce the number of files each compaction

Re: seed faq

2011-04-21 Thread Maki Watanabe
Thank you, Naren. I'll add some more details and upload it to FAQ wiki page. maki 2011/4/21 Narendra Sharma : > Here are some more details that might help: > 1. You are right that Seeds are referred on startup to learn about the ring. > 2. It is a good idea to have more than 1 seed. Seed is not S

Re: How to change the seed node used to discover other nodes in the ring?

2011-04-21 Thread Roshan Dawrani
On Thu, Apr 21, 2011 at 9:30 PM, Nate McCall wrote: > It will work as long as thrift and gossip are bound to the same > interface. The discovery server in Hector also uses the > CassandraHostConfigurator#getPort for the port in constructing the > host URL. Can you please elaborate a little in t

Re: How to change the seed node used to discover other nodes in the ring?

2011-04-21 Thread Nate McCall
It will work as long as thrift and gossip are bound to the same interface. The discovery server in Hector also uses the CassandraHostConfigurator#getPort for the port in constructing the host URL. On Thu, Apr 21, 2011 at 10:48 AM, Roshan Dawrani wrote: > On Thu, Apr 21, 2011 at 9:10 PM, Nate McCa

Re: How to change the seed node used to discover other nodes in the ring?

2011-04-21 Thread Roshan Dawrani
On Thu, Apr 21, 2011 at 9:10 PM, Nate McCall wrote: > Roshan, > See https://issues.apache.org/jira/browse/CASSANDRA-1777 for more details. > Hi...I am not sure I fully understand the current state of auto-discovery of nodes. The impression I am getting looking at the issue details is that auto-

Re: How to change the seed node used to discover other nodes in the ring?

2011-04-21 Thread Nate McCall
Roshan, See https://issues.apache.org/jira/browse/CASSANDRA-1777 for more details. On Thu, Apr 21, 2011 at 10:33 AM, Jonathan Ellis wrote: > describe_cluster is showing the value of listen_address > > On Thu, Apr 21, 2011 at 9:28 AM, Roshan Dawrani > wrote: >> Hi, >> In our Cassandra/Hector env

Re: How to change the seed node used to discover other nodes in the ring?

2011-04-21 Thread Jonathan Ellis
describe_cluster is showing the value of listen_address On Thu, Apr 21, 2011 at 9:28 AM, Roshan Dawrani wrote: > Hi, > In our Cassandra/Hector environment, we are trying to turn the > auto-discovery of nodes in the ring on. We have created the DB using the > following default in cassandra.yaml >

advice for EC2 deployment

2011-04-21 Thread William Oberman
Hi, My service is not yet ready to be fully multi-DC, due to how some of my legacy MySQL stuff works. But, I wanted to get cassandra going ASAP and work towards multi-DC. I have two main cassandra use cases: one where I can handle eventual consistency (and all of the writes/reads are currently O

Re: CQL in future 8.0 cassandra will work as I'm expecting ?

2011-04-21 Thread Jonathan Ellis
The latter. On Thu, Apr 21, 2011 at 1:24 AM, Constantin Teodorescu wrote: > Thank you very much Ellis, I heard about Brisk two weeks ago and I'm already > checking DataStax web site twice a day waiting for Brisk to come. > It seems that it will be a good solution for us. > Once more question plea

How to change the seed node used to discover other nodes in the ring?

2011-04-21 Thread Roshan Dawrani
Hi, In our Cassandra/Hector environment, we are trying to turn the auto-discovery of nodes in the ring on. We have created the DB using the following default in cassandra.yaml === # Addresses of hosts that are deemed contact points. # Cas

Re: Compacting single file forever

2011-04-21 Thread Shotaro Kamio
Hi Aaron, Maybe, my previous description was not good. It's not a compaction threshold problem. In fact, Cassandra tries to compact 7 sstables in the minor compaction. But it decreases the number of sstables one by one due to insufficient disk space. At the end, it compacts a single file as in th

Re: Multi-DC Deployment

2011-04-21 Thread Peter Schuller
> Again, for a lot of services, it is fully acceptable, and a lot better, to > return an almost complete (or maybe even complete, but no verified by > quorum) result than no result at all. +1, except maybe "a lot" depending on how one chooses to define that. There are definitely cases where suffic

Re: Multi-DC Deployment

2011-04-21 Thread Peter Schuller
> Cassandra doesn't "replicate sstable corruptions". It detects corrupt > data and only replicates good data. This is incorrect. Depending on the nature of the corruption it may spread to other nodes. Checksumming (done right) would be a great addition to alleiate this. Yes, there is code that tri

Re: Compacting single file forever

2011-04-21 Thread aaron morton
Want to check if you are talking about minor compactions or major (nodetool) compactions. What settings compaction settings do you have for this CF ? You can increase the min compaction threshold and reduce the frequency of compactions http://wiki.apache.org/cassandra/StorageConfiguration It se

Re: Internal error

2011-04-21 Thread Sylvain Lebresne
http://www.datastax.com/docs/0.7/troubleshooting/index#nodes-are-dying-with-oom-errors -- Sylvain On Thu, Apr 21, 2011 at 7:37 AM, Renato Bacelar da Silveira < renat...@indabamobile.co.za> wrote: > Thank you kindly Jonathan, it was indeed logged in the server. > > Appreciate all the help so far