Re: JNA C library errors on OSX

2011-04-26 Thread John Lennard
Thanks for that. If it is a known issue I will leave it be as everything is working fine without it. Have no intention of deploying on OSX, was more that seeing the error puzzled me some what. Cheers John On 26/04/2011, at 2:05 AM, Jonathan Ellis wrote: > Pretty sure this is b/c OS X doesn

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...

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

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 wrote: > In 0.7.X the cli waits for the schema to agree before returning, you should > see... > > Waiting for schema agreement... > ... schemas

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 we

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 assig

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 error

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 latency

Re: 0.8 loosing nodes?

2011-04-26 Thread Brandon Williams
On Mon, Apr 25, 2011 at 12:21 PM, Jonathan Ellis wrote: > I bet the problem is with the other tasks on the executor that Gossip > heartbeat runs on. > > I see at least two that could cause blocking: hint cleanup > post-delivery and flush-expired-memtables, both of which call > forceFlush which wil

Re: Cluster Installation Verification

2011-04-26 Thread Brad Willard
The setup is 10.11.6.9 as the seed and the other three nodes bootstrapped. I attached two cassandra.yaml files, the config of the seed, and the config of one of the cluster nodes. Ring output /opt/cassandra/apache-cassandra-0.7.4# ./bin/nodetool -h 10.11.6.9 ring Address Status State Loa

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 star

Re: decommissioning a wrong node

2011-04-26 Thread Tomas Vondra
Dne 26.4.2011 09:21, aaron morton napsal(a): > 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

Re: Cluster Installation Verification

2011-04-26 Thread Jonathan Colby
What replication strategy did you use? how does the ring look? were the newly added nodes bootstrapped? is 1 or more nodes listed as a seed? Lots of questions. but maybe you could post your cassandra.yaml here and we can take a look at it. The output of nodetool ring would also be good. Jon

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 look

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 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

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 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, > > First of all tha

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 /bin/

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, Sasha

Re: [RELEASE] Apache Cassandra 0.8.0 beta1

2011-04-26 Thread Stephen Connolly
I will be calling the release vote on dev when I get a chance. In the meantime, the staged artifacts are at https://repository.apache.org/content/repositories/orgapachecassandra-114/ On 26 April 2011 13:27, Stephen Connolly wrote: > beta versions will be available from releases repo. > > You can

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 fr

Re: [RELEASE] Apache Cassandra 0.8.0 beta1

2011-04-26 Thread Stephen Connolly
beta versions will be available from releases repo. You can help validate the poms when I call the release vote. On 26 April 2011 13:15, Mck wrote: > 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 g

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: [RELEASE] Apache Cassandra 0.8.0 beta1

2011-04-26 Thread Stephen Connolly
On 26 April 2011 10:37, Mck wrote: > 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 no

Re: IP address resolution in MultiDC setup

2011-04-26 Thread Milind Parikh
You can't route traffic over private ips across data centers.this is the point of the patch. /*** sent from my android...please pardon occasional typos as I respond @ the speed of thought / On Apr 26, 2011 6:59 AM, "pankaj soni" wrote: one last d

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: 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 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 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 appears to be > un

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: [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

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. April

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 t

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" 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 default jmx port ... but t

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 Ahsa

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

2011-04-26 Thread Sasha Dolgy
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 Ahsan wrote: > I have added in cassandra.in.sh -Djava.rmi.server.hostname=myipaddress but > still getting same error a

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 mailto:ali.ah...@panasiangroup.com>> wrote:

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 wrote: > On Tue, Apr 26, 2011 at 9:01 AM, Terje Marthinussen > wrote: >> Hi, >> I was testing the multithreaded compactio

Re: multithreaded compaction

2011-04-26 Thread Sylvain Lebresne
On Tue, Apr 26, 2011 at 9:01 AM, Terje Marthinussen 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 seems a bit overkill.

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 wrote: > Boris Spasojevic epfl.ch> wr

Re: new node can't find seed node

2011-04-26 Thread Udit Khandelwal
Boris Spasojevic 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 server18080 server2lin

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 Caprio

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 this.