Re: datacenter ShardStrategy

2011-05-08 Thread Jonathan Ellis
Step 0: Upgrade to 0.7 and read about NetworkTopologyStrategy instead. Intro: http://www.datastax.com/dev/blog/deploying-cassandra-across-multiple-data-centers On Sun, May 8, 2011 at 8:09 PM, Anurag Gujral wrote: > Hi All, >            I want to use datacenter ShardStrategy  in my cassandra set

Re: Migrating all rows from 0.6.13 to 0.7.5 over thrift?

2011-05-08 Thread Jonathan Ellis
Strongly suspect that he has invalid unicode characters in his keys. 0.6 wasn't as good at validating those as 0.7. On Sun, May 8, 2011 at 8:51 PM, aaron morton wrote: > Out of interest i've done some more digging. Not sure how much more I've > contributed but here goes... > Ran this against an c

Re: Adding a new node

2011-05-08 Thread Venkat Rama
Thanks for the pointer. I restarted entire cluster and started nodes at the same time. However, I still see the issue. The view is not consistant. Am running 0.7.5. In general, if a node with bad ring view starts first, then I guess the restart also doesnt help as it might be propagating its view

This is an easy way to help Lake Dolloff students

2011-05-08 Thread Marie-Anne
.and it won't cost you or tax-payers a dime. Go to: www.refresheverything.com/federal-way-kids-at-play and vote for Lake Dolloff to get new play equipment. It has been many years since I taught at Lake Dolloff (1987-1992), so I know when the "new" equipment was installed. Now that equipment

Re: Adding a new node

2011-05-08 Thread aaron morton
It is possible to change IP address of a node, background http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/change-node-IP-address-td6197607.html If you have already bought a new node back with a different IP and the nodes in the cluster have different views of the ring (nodetoo

Re: Migrating all rows from 0.6.13 to 0.7.5 over thrift?

2011-05-08 Thread aaron morton
Out of interest i've done some more digging. Not sure how much more I've contributed but here goes... Ran this against an clean v 0.6.12 and it works (I expected it to fail on the first read) client = pycassa.connect() standard1 = pycassa.ColumnFamily(client, 'Keyspace1', 'Standard1')

datacenter ShardStrategy

2011-05-08 Thread Anurag Gujral
Hi All, I want to use datacenter ShardStrategy in my cassandra setup .Can someone please let me know what steps / configuration changes I need to make. Thanks Anurag

Re: CFHistograms?

2011-05-08 Thread Subrahmanya Harve
Is there a more detailed document available on CF Histograms? On Sun, May 8, 2011 at 2:39 PM, Jonathan Ellis wrote: > Timeouts (hence errors) will register at the rpc timeout value. > > On Sat, May 7, 2011 at 1:27 PM, Josep Blanquer > wrote: > > I believe the offset value of Writes and Reads ar

Adding a new node

2011-05-08 Thread Venkat Rama
Hi, I am trying to bring up a new node (with different IP) to replace a dead node on cassandra 0.7.5. Rather than bootstrap, I am copying the SSTable files to the new node(backed up files) as my data runs into several GB. Although the node successfully joins the ring, some of the ring nodes sti

Re: Does anybody have experience with running Cassandra in Amazon's Virtual Private Cloud (VPC)?

2011-05-08 Thread Vijay
We are planning to use EIP's + https://issues.apache.org/jira/browse/CASSANDRA-2452 for AWS multi region deployment. Regards, On Thu, May 5, 2011 at 5:01 PM, aaron morton wrote: > There have been some recent discussions about different EC2 deployments, > may be be exactly what you are looking

Re: RequestResponseStage Assertion Error

2011-05-08 Thread aaron morton
What version are you on ? Check the nodetool ring from each node in your cluster to check they have the same view. Hope that helps. - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 9 May 2011, at 09:37, Eric tamme wrote: > I have a 4

Re: New node not joining

2011-05-08 Thread aaron morton
Ah, I see the case you are talking about. If the node will auto bootstrap on startup if when it joins the ring: it is not already bootstrapped, auto bootstrap is enabled, and the node is not in it's own seed list. In the auto bootstrap process then finds the token it wants, but aborts the pro

Re: CFHistograms?

2011-05-08 Thread Jonathan Ellis
Timeouts (hence errors) will register at the rpc timeout value. On Sat, May 7, 2011 at 1:27 PM, Josep Blanquer wrote: > I believe the offset value of Writes and Reads are in *micro*seconds right? > (that page talks about *milli*seconds) > > Also, are any timeouts or errors reflected in those time

RequestResponseStage Assertion Error

2011-05-08 Thread Eric tamme
I have a 4 node ring that was setup with tokens a,b,c,d using NTS and 2 nodes in each of 2 datacenters with a replication of DC1:1, DC2:1. I was getting uneven replica placement so I did a drop keyspace, followed by a nodetool move to DC1 having tokens (a,b) and DC2 having tokens (a+1,b+1) , then

Re: Filter on row iterator

2011-05-08 Thread aaron morton
AFAIK Token suport is there for the hadoop integration and is not something you should normally need to use. It will be easier to use a KeyRange with a start_key if you have a consistent key format, with the most significant discriminator first. e.g. /id Then you can use a range start such as

Re: strange behaviour in cassandra

2011-05-08 Thread Anurag Gujral
Thanks for your response I think the reference you are talking about is http://wiki.apache.org/cassandra/MemtableSSTable Regards, Anurag On Sun, May 8, 2011 at 11:01 AM, Peter Schuller wrote: > > I stop my cassandra node and restarted it,this start and stop > > resulted in decrease in

Re: strange behaviour in cassandra

2011-05-08 Thread Peter Schuller
>           I stop my cassandra node and restarted it,this start and stop > resulted in decrease in the space used by cassandra by 20%. > I am not sure what is happening?Can Anyone please shower some light on this Probably because unused sstables were deleted on start-up that were otherwise not us

strange behaviour in cassandra

2011-05-08 Thread Anurag Gujral
Hi All, I stop my cassandra node and restarted it,this start and stop resulted in decrease in the space used by cassandra by 20%. I am not sure what is happening?Can Anyone please shower some light on this behaviour. Thanks Anurag