Re: [BETA RELEASE] Apache Cassandra 1.2.0-beta2 released

2012-11-10 Thread Tyler Hobbs
The Murmur3Partitioner range is from -2^63 to 2^63 - 1 (Java's Long.MIN_VALUE to Long.MAX_VALUE). On Sat, Nov 10, 2012 at 8:59 PM, Brian O'Neill wrote: > > Wow...good catch. > > We had puppet scripts which automatically assigned the proper tokens given > the cluster size. > What is the range now

Re: HugeTLB (Hugepage) Support on a Cassandra Cluster

2012-11-10 Thread Jason Wee
option -XX:+UseLargePages ? On Sat, Nov 10, 2012 at 2:34 AM, Morantus, James (PCLN-NW) < james.moran...@priceline.com> wrote: > Hi, > > ** ** > > Does anyone know if DataStax/Cassandra recommends using HugeTLB on a > cluster? > > ** ** > > Thank you > > ** ** > > *James Morantus* >

RE: Connecting to cassandra.

2012-11-10 Thread Kevin Burton
Thank you in the output.log I see the line: INFO 13:36:59,110 This node will not auto bootstrap because it is configured to be a seed node. Apparently I changed too much in the cassandra.yaml file. What should the ‘seed’ entry be? From the comments it is a comma separated list of IP addr

RE: Connecting to cassandra.

2012-11-10 Thread Wz1975
The first thing to check is the log files under /var/log/cassandra,  should give you some hint.  Thanks. -Wei Sent from my Samsung smartphone on AT&T Original message Subject: Connecting to cassandra. From: Kevin Burton To: user@cassandra.apache.org CC: I have installe

Re: [BETA RELEASE] Apache Cassandra 1.2.0-beta2 released

2012-11-10 Thread Brian O'Neill
Wow...good catch. We had puppet scripts which automatically assigned the proper tokens given the cluster size. What is the range now? Got a link? -brian On Nov 10, 2012, at 9:27 PM, Edward Capriolo wrote: > just a note for all. The default partitioner is no longer randompartitioner. > It is

Connecting to cassandra.

2012-11-10 Thread Kevin Burton
I have installed Cassandra on a Ubuntu Server but I fail to see it with either: ps ax or netstat -an | grep 9160 I see a file /etc/init.d/cassandra so I am assuming that it should start up. What else do I need to do? I have edited cassandra.yaml for all the places that specifically

Re: [BETA RELEASE] Apache Cassandra 1.2.0-beta2 released

2012-11-10 Thread Michael Kjellman
Ohh lala. Any documentation yet? On Nov 10, 2012, at 6:27 PM, "Edward Capriolo" mailto:edlinuxg...@gmail.com>> wrote: just a note for all. The default partitioner is no longer randompartitioner. It is now murmur, and the token range starts in negative numbers. So you don't chose tokens Luke yo

Re: [BETA RELEASE] Apache Cassandra 1.2.0-beta2 released

2012-11-10 Thread Edward Capriolo
just a note for all. The default partitioner is no longer randompartitioner. It is now murmur, and the token range starts in negative numbers. So you don't chose tokens Luke your father taught you anymore. On Friday, November 9, 2012, Sylvain Lebresne wrote: > The Cassandra team is pleased to ann

Re: Single Node Cassandra Installation

2012-11-10 Thread Drew Kutcharian
Thanks Rob, this makes sense. We only have one rack at this point, so I think it'd be better to start with PropertyFileSnitch to make Cassandra think that these nodes each are in a different rack without having to put them on different subnets. And I will have more flexibility (at the cost of ke

Re: Strange delay in query

2012-11-10 Thread Binh Nguyen
FYI: Repair does not remove tombstones. To remove tombstones you need to run compaction. If you have a lot of data then make sure you run compaction on all nodes before running repair. We had a big trouble with our system regarding tombstone and it took us long time to figure out the reason. It tur

Re: read request distribution

2012-11-10 Thread Tyler Hobbs
When you read at quorum, a normal read query will be sent to one replica (possibly the same node that's coordinating) and a digest query will be sent to *one* other replica, not both. Which replicas get picked for these is determined by the dynamic snitch, which will favor replicas that are respon

Re: backup/restore from sstable files ?

2012-11-10 Thread Tyler Hobbs
On Fri, Nov 9, 2012 at 6:04 PM, Rob Coli wrote: > > > some of my colleagues seem to use this method to backup/restore a > cluster, > > successfully: > > > >> on each of the node, save entire /cassandra/data/ dir to S3, > > then on a new set of nodes, with exactly the same number of nodes, copy >

Re: leveled compaction and tombstoned data

2012-11-10 Thread Edward Capriolo
No it does not exist. Rob and I might start a donation page and give the money to whoever is willing to code it. If someone would write a tool that would split an sstable into 4 smaller sstables (even an offline command line tool) I would paypal them a hundo. On Sat, Nov 10, 2012 at 1:10 PM, Aaron

Re: leveled compaction and tombstoned data

2012-11-10 Thread Aaron Turner
Nope. I think at least once a week I hear someone suggest one way to solve their problem is to "write an sstablesplit tool". I'm pretty sure that: Step 1. Write sstablesplit Step 2. ??? Step 3. Profit! On Sat, Nov 10, 2012 at 9:40 AM, Alain RODRIGUEZ wrote: > @Rob Coli > > Does the "sstable

Re: leveled compaction and tombstoned data

2012-11-10 Thread Alain RODRIGUEZ
@Rob Coli Does the "sstablesplit" function exists somewhere ? 2012/11/10 Jim Cistaro > For some of our clusters, we have taken the periodic major compaction > route. > > There are a few things to consider: > 1) Once you start major compacting, depending on data size, you may be > committed to

Re: Replication factor and performance questions

2012-11-10 Thread B. Todd Burruss
@oleg, to answer your last question a cassandra node should never ask another node for information it doesn't have. it uses the key and the partitioner to determine where the data is located before ever contacting another node. On Mon, Nov 5, 2012 at 9:45 AM, Andrey Ilinykh wrote: > You will hav

Re: leveled compaction and tombstoned data

2012-11-10 Thread Jim Cistaro
For some of our clusters, we have taken the periodic major compaction route. There are a few things to consider: 1) Once you start major compacting, depending on data size, you may be committed to doing it periodically because you create one big file that will take forever to naturally compact aga