Re: Error after 1.2.0 upgrade

2013-01-04 Thread Alain RODRIGUEZ
I use the same process as Aaron and I think after disabling gossip, thrift and draining the node, nothing more is witten in this node which is considered as being down. But after stopping Cassandra, if you are using counters and while drain is still broken, I would consider emptying the commit

Re: AWS EMR - Cassandra

2013-01-04 Thread William Oberman
On all tasktrackers, I see: java.io.IOException: PIG_OUTPUT_INITIAL_ADDRESS or PIG_INITIAL_ADDRESS environment variable not set at org.apache.cassandra.hadoop.pig.CassandraStorage.setStoreLocation(CassandraStorage.java:821) at

Re: property 'disk_access_mode' not found in cassandra.yaml

2013-01-04 Thread Alain RODRIGUEZ
Is the default 'auto' the best possible option so that no one has to worry about it anymore ? Yes something like that I guess. You can add the disk_access_mode property to your cassandra.yaml and set it to standard to disable memory mapped access, it will work. It's the same thing for the

RE: property 'disk_access_mode' not found in cassandra.yaml

2013-01-04 Thread DE VITO Dominique
That's what I guesseed too (as this property could be found into the src code). But... I am still a bit surprised it's not, at least, mentionned into the doc (into some dedicated section). Dominique De : Alain RODRIGUEZ [mailto:arodr...@gmail.com] Envoyé : vendredi 4 janvier 2013 15:57 À :

Re: num_tokens - virtual nodes

2013-01-04 Thread Michael Kjellman
http://www.mail-archive.com/user@cassandra.apache.org/msg26528.html From: Alain RODRIGUEZ arodr...@gmail.commailto:arodr...@gmail.com Reply-To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Date: Friday, January 4, 2013 6:00

Specifying initial token in 1.2 fails

2013-01-04 Thread Dwight Smith
Hi Just started evaluating 1.2 - starting a clean Cassandra node - the usual practice is to specify the initial token - but when I attempt to start the node the following is observed: INFO [main] 2013-01-03 14:08:57,774 DatabaseDescriptor.java (line 203) disk_failure_policy is stop DEBUG

Re: Specifying initial token in 1.2 fails

2013-01-04 Thread Michael Kjellman
Murmur3 != MD5 (RandomPartitioner) From: Dwight Smith dwight.sm...@genesyslab.commailto:dwight.sm...@genesyslab.com Reply-To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Date: Friday, January 4, 2013 8:36 AM To:

RE: Specifying initial token in 1.2 fails

2013-01-04 Thread Dwight Smith
Michael Yes indeed - my mistake. Thanks. I can specify RandomPartitioner, since I do not use indexing - yet. Just for informational purposes - with Murmur3 - to achieve a balanced cluster - is the initial token method supported? If so - how should these be generated, the token-generator

Re: Specifying initial token in 1.2 fails

2013-01-04 Thread Michael Kjellman
To be honest I haven't run a cluster with Murmur3. You can still use indexing with RandomPartitioner (all us old folk are stuck on Random btw..) And there was a thread floating around yesterday where Edward did some benchmarks and found that Murmur3 was actually slower than RandomPartitioner.

Re: Specifying initial token in 1.2 fails

2013-01-04 Thread Nick Bailey
If you are planning on using murmur3 without vnodes (specifying your own tokens) there is a quick python script in the datastax docs you can use to generate balanced tokens. http://www.datastax.com/docs/1.2/initialize/token_generation#calculating-tokens-for-the-murmur3partitioner On Fri, Jan 4,

Re: when are keyspace dirs removed?

2013-01-04 Thread B. Todd Burruss
yea, i turned that off because in dev i am creating/dropping keyspaces regularly for integration testing and was surprised to see all the directories left behind On Thu, Jan 3, 2013 at 7:47 PM, aaron morton aa...@thelastpickle.comwrote: Are they never removed in fear of removing snapshots?

Re: Specifying initial token in 1.2 fails

2013-01-04 Thread Edward Capriolo
Yes. They were really just introduced and if you are ready to hitch your wagon to every new feature you put yourself in considerable risk. With any piece of software not just Cassandra. On Fri, Jan 4, 2013 at 11:59 AM, Alain RODRIGUEZ arodr...@gmail.com wrote: But I don't really get the point

Re: AWS EMR - Cassandra

2013-01-04 Thread William Oberman
So I've made it work, but I don't get it yet. I have no idea why my DIY server works when I set the environment variables on the machine that kicks off pig (master), and in EMR it doesn't. I recompiled ConfigHelper and CassandraStorage with tons of debugging, and in EMR I can see the hadoop

Cassandra / Windows Server 2008

2013-01-04 Thread Stephen.M.Thompson
Hi folks - I have a Windows 2008 server that I'm trying to get Cassandra working on. I have disabled the Windows Firewall for the moment but I still cannot connect to the server. I have tried editing the cassandra.yaml to update the listen_address to the machine address as well as blank or

Re: Cassandra / Windows Server 2008

2013-01-04 Thread Michael Kjellman
Use linux ;) More seriously, I'm wondering if it is binding to the IPV6 address? Is that enabled on that NIC? You could try disabling IPv6 and seeing if RPC binds correctly.. From: stephen.m.thomp...@wellsfargo.commailto:stephen.m.thomp...@wellsfargo.com

RE: Cassandra / Windows Server 2008

2013-01-04 Thread Stephen.M.Thompson
Good suggestion ... I added -Djava.net.preferIPv4Stack=true as a JVM arg cassandra.bat and got exactly the same result though. Stephen Thompson Wells Fargo Corporation Internet Authentication Fraud Prevention 704.427.3137 (W) | 704.807.3431 (C) UPCOMING PTO: JAN 14-18 This message may

Re: num_tokens - virtual nodes

2013-01-04 Thread Manu Zhang
https://www.youtube.com/watch?v=GddZ3pXiDyslist=PLC5E3906433F5A165index=28 This video of Cassandra summit 2012 has mentioned the use of 256 tokens by default (though it's no longer in the conf/cassandra.yaml). I remember that more tokens could lead to more disk seeks or something. I think 256 is