Re: data management / validation

2011-04-26 Thread Sasha Dolgy
Cheers Aaron ... getNaturalEndpoints is perfect. I can pull a random key and analyze the results to check our business rules. Automated through monitoring ... Excellent. As for security, I had looked at the SSL option a month ago maybe ... For us, this would be a great feature, except, by

encryption_options 0.8

2011-04-26 Thread Sasha Dolgy
Is it possible to store an encrypted keystore_password and truststore_password in the cassandra.yaml? I see that the defaults allow cleartext which isn't suitable when negotiating with security specialists for sign-off of a solution... From:

multithreaded compaction

2011-04-26 Thread Terje Marthinussen
Hi, I was testing the multithreaded compactions and with 2x6 cores (24 with HT) it does seem a bit crazy with 24 compactions running concurrently. It is probably not very good in terms of random I/O. As such, I think I agree with the argument in 2191 that there should be a config option for

Re: decommissioning a wrong node

2011-04-26 Thread aaron morton
There is the fabled java.rmi.server.hostname http://blog.reactive.org/2011/02/connecting-to-cassandra-jmx-via-ssh.html http://download.oracle.com/javase/1.4.2/docs/guide/rmi/javarmiproperties.html Not sure if anyone has got it working correctly. Aaron On 25 Apr 2011, at 03:51, Edward

Re: new node can't find seed node

2011-04-26 Thread Udit Khandelwal
Boris Spasojevic boris.spasojevic at epfl.ch writes: i have 2 machines , one windows and other linux. i am facing this issue. Could you please tell me how you solved it. Machine 1 OS listen_address thrift_address seeds JMX_PORT server1Xp server1server1 server1

Re: new node can't find seed node

2011-04-26 Thread Sasha Dolgy
server2 should be pointing to server1 after server1 is online and in the logs is accepting thrift connections. in what you've pasted below, you show that server2 is connecting to server2 ... not server1. -sd On Tue, Apr 26, 2011 at 9:19 AM, Udit Khandelwal udi...@gmail.com wrote: Boris

Re: multithreaded compaction

2011-04-26 Thread Sylvain Lebresne
On Tue, Apr 26, 2011 at 9:01 AM, Terje Marthinussen tmarthinus...@gmail.com wrote: Hi, I was testing the multithreaded compactions and with 2x6 cores (24 with HT) it does seem a bit crazy with 24 compactions running concurrently. It is probably not very good in terms of random I/O. It does

Re: multithreaded compaction

2011-04-26 Thread Sylvain Lebresne
FYI, I've also created https://issues.apache.org/jira/browse/CASSANDRA-2559 as another approach to the problem. -- Sylvain On Tue, Apr 26, 2011 at 9:35 AM, Sylvain Lebresne sylv...@datastax.com wrote: On Tue, Apr 26, 2011 at 9:01 AM, Terje Marthinussen tmarthinus...@gmail.com wrote: Hi, I

Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-26 Thread Ali Ahsan
I have added in cassandra.in.sh -Djava.rmi.server.hostname=myipaddress but still getting same error any ideas ? On 04/17/2011 02:24 AM, Tyler Hobbs wrote: http://wiki.apache.org/cassandra/JmxGotchas On Sat, Apr 16, 2011 at 12:20 PM, Ali Ahsan ali.ah...@panasiangroup.com

Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-26 Thread Ali Ahsan
Thanks for quick reply but i am not using ec2,Its a physical machine. On 04/26/2011 12:59 PM, Sasha Dolgy wrote: on ec2, we had to change the default jmx port ... but that's with 0.7.x. instead of 8080 we opted for 9090 and that solved our problems. -sd On Tue, Apr 26, 2011 at 9:57 AM, Ali

Re: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-26 Thread Sasha Dolgy
When cassandra is not running: netstat -an | grep 8080 anything showing up? On Apr 26, 2011 10:04 AM, Ali Ahsan ali.ah...@panasiangroup.com wrote: Thanks for quick reply but i am not using ec2,Its a physical machine. On 04/26/2011 12:59 PM, Sasha Dolgy wrote: on ec2, we had to change the

Re: multithreaded compaction

2011-04-26 Thread Terje Marthinussen
To be honest, this started after feeding data to cassandra for a while with compaction disabled (sort of a test case). when I enabled it... boom... spectacular process with 2000% CPU usage (please note... there is compression in cassandra in this system). This system actually have SSD's so when

AW: cassandra 0.6.3 error Connection refused to host: 127.0.0.1;

2011-04-26 Thread Johannes Hoerle
I am not really deep into 0.6.x configuration but what is the listening address in your storage conf? localhost/127.0.0.1 or maybe the internal/public ip of the host? I think you need to connect to the one defined johannes Von: Sasha Dolgy [mailto:sdo...@gmail.com] Gesendet: Dienstag, 26.

Re: [RELEASE] Apache Cassandra 0.8.0 beta1

2011-04-26 Thread Mck
On Fri, 2011-04-22 at 16:49 -0500, Eric Evans wrote: I am pleased to announce the release of Apache Cassandra 0.8.0 beta1. *Truly Awesome!* CQL rocks in so many ways. Is 0.8.0-beta1 available in apache's maven repository? And if not, why not? ~mck

0.7.4 no longer installable?

2011-04-26 Thread Luke Biddell
Chaps, We're using 0.7.4 here and aren't ready to go to 0.8 just yet. If I do apt-get install cassandra=0.7.4 on a clean machine it appears to be unavailable. Am I doing something wrong? Thanks Luke

Re: 0.7.4 no longer installable?

2011-04-26 Thread Watanabe Maki
How about to download the binary kit manually? http://cassandra.apache.org/ From iPhone On 2011/04/26, at 18:55, Luke Biddell luke.bidd...@gmail.com wrote: Chaps, We're using 0.7.4 here and aren't ready to go to 0.8 just yet. If I do apt-get install cassandra=0.7.4 on a clean machine it

Re: IP address resolution in MultiDC setup

2011-04-26 Thread pankaj soni
one last doubt is pending after reading your document: 1. when deploying cassandra across multiple dcs using your patch, is it possible to have internal network of nodes in each data center talking over private ip? then I assume the node with public ip will act as coordinator. But if it goes down

RE: 0.7.4 no longer installable?

2011-04-26 Thread Gert van der Spoel
Alternatively you could get the deb file at: http://www.apache.org/dist/cassandra/debian/pool/main/c/cassandra/ and go for dpkg -i cassandra_0.7.4_all.deb CU, Gert -Original Message- From: Watanabe Maki [mailto:watanabe.m...@gmail.com] Sent: dinsdag 26 april 2011 13:46 To:

Re: [RELEASE] Apache Cassandra 0.8.0 beta1

2011-04-26 Thread Mck
On Tue, 2011-04-26 at 12:53 +0100, Stephen Connolly wrote: (or did you want 20million unneeded deps for the client jars?) Yes that's a good reason :-) If there anything i can help with? Will beta versions be available under releases repository? ~mck

Re: advice for EC2 deployment

2011-04-26 Thread William Oberman
Thanks Aaron! Unless no one on this list uses EC2, there were a few minor troubles end of last week through the weekend which taught me a lot about obscure failure modes in various applications I use :-) My original post was trying to be more redundant than fast, which has been by overall goal

Re: IP address resolution in MultiDC setup

2011-04-26 Thread pankaj soni
Hi, I have a question regarding Vyatta or any providing VIP in general. While routing through gateway do we bind it to ec2 nodes private IP or public IP? Also, in general could you explain how VIP might help for I am new towards this side of field. thanks On Mon, Apr 25, 2011 at 9:47 PM,

Re: [RELEASE] Apache Cassandra 0.8.0 beta1

2011-04-26 Thread Pierre-Yves Ritschard
On ven., 2011-04-22 at 16:49 -0500, Eric Evans wrote: I am pleased to announce the release of Apache Cassandra 0.8.0 beta1. Hi, First of all thanks for this release, here are a few annoyances I spotted while trying it out the published debian packages: The cassandra-env.sh is ran by

Re: [RELEASE] Apache Cassandra 0.8.0 beta1

2011-04-26 Thread Jonathan Ellis
https://issues.apache.org/jira/browse/CASSANDRA-2549 is open to fix this On Tue, Apr 26, 2011 at 9:41 AM, Pierre-Yves Ritschard p...@milestonelab.com wrote: On ven., 2011-04-22 at 16:49 -0500, Eric Evans wrote: I am pleased to announce the release of Apache Cassandra 0.8.0 beta1. Hi,

Re: IP address resolution in MultiDC setup (EC2)/VIP

2011-04-26 Thread Sasha Dolgy
Ok, on each node, I have configured the listen address for cassandra as the VIP interface (tunXXX). This allows other cassandra instances to connect ONLY through the VPN network. The listen address is not configured for the eth0 interface (EC2). rpc_address is set to 0.0.0.0 so that it can listen

Cluster Installation Verification

2011-04-26 Thread Brad Willard
I'm trying to setup a cassandra cluster with 0.7.4 on 4 nodes. I initially did a single server test that went beautifully with a test that inserted 16 million rows with no issues. However when I tried to create a 4 node cluster I've been seeing weird behavior. I seem to be able to run my same test

Re: IP address resolution in MultiDC setup (EC2)/VIP

2011-04-26 Thread Milind Parikh
At the risk of repeating the previous conclusions: (a) This configuration obviates the need for a patch that I had posted earlier. This is a good thing. (b) The reported latency(@Sasha) is less than ordinary latencies in EC2. The reasons behind this are not well understood. However I wouldn't

practice failure recovery

2011-04-26 Thread William Oberman
In my test cluster I manged to jam up a cassandra server. I figure the easy failsafe solution is to just boot a replacement node, but I thought I'd try a minute to either figure out what I did, or try to figure out how to properly recover it before I lose my current state. The symptom = on

Re: advice for EC2 deployment

2011-04-26 Thread aaron morton
One difference between Cassandra and MySQL replication may be when the network IO happens. Was the MySQL replication synchronous on transaction commit ? I was only aware that it had async replication, which means the client is not exposed to the network latency. In cassandra the network

Re: practice failure recovery

2011-04-26 Thread aaron morton
In 0.7.X the cli waits for the schema to agree before returning, you should see... Waiting for schema agreement... ... schemas agree across the cluster Or if things fail The schema has not settled in %d seconds; further migrations are ill-advised until it does.%nVersions are %s%n WRT the

Re: Cluster Installation Verification

2011-04-26 Thread aaron morton
Does not look like there is much data in there :) Also don't forget to use the datatype functions in the cli to match what your app is doing, see help for more details. e.g. get MyCf[uuid('something-that-looks-llike-a-uuid')] Also the ring is unbalanced (the Owns column), you will want to

Re: advice for EC2 deployment

2011-04-26 Thread William Oberman
I see what you're saying. I was able to control write latency on mysql using insert vs insert delayed (what I feel is MySQLs poor man's eventual consistency option) + the fact that replication was a background asynchronous process. In terms of read latency, I was able to do up to a few hundred

Re: practice failure recovery

2011-04-26 Thread William Oberman
Done and done. I'm really loving how easy the nuclear option has been (it was what I tested first). will On Tue, Apr 26, 2011 at 5:09 PM, aaron morton aa...@thelastpickle.comwrote: In 0.7.X the cli waits for the schema to agree before returning, you should see... Waiting for schema

Re: Apt repositories

2011-04-26 Thread Eric Evans
On Sat, 2011-04-23 at 16:49 -0700, David Strauss wrote: I just noticed that, following the Cassandra 0.8 beta release, the Apt repository is encouraging servers in my clusters to upgrade. Beta releases should probably be on different channels (or named differently) than stable ones. There was

Re: encryption_options 0.8

2011-04-26 Thread David Strauss
On Tue, 2011-04-26 at 08:57 +0200, Sasha Dolgy wrote: Is it possible to store an encrypted keystore_password and truststore_password in the cassandra.yaml? I see that the defaults allow cleartext which isn't suitable when negotiating with security specialists for sign-off of a solution... If