incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiller, Dean" <Dean.Hil...@nrel.gov>
Subject Re: move data from Cassandra 1.1.6 to 1.2.4
Date Tue, 23 Apr 2013 18:56:20 GMT
But 1.1.4 does not have Vnodes, right?  In that case, I would baby step it doing the upgrade
to 1.24 first on the old nodes, and after that is done then adding the new nodes in,  and
after that is done then decommissioning the old nodes…finally I would convert to vnodes….and
I would try that all in QA of course first.  Some of these steps you can do while the cluster
is live like adding new nodes.

Dean

From: Wei Zhu <wz1975@yahoo.com<mailto:wz1975@yahoo.com>>
Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>,
Wei Zhu <wz1975@yahoo.com<mailto:wz1975@yahoo.com>>
Date: Tuesday, April 23, 2013 12:53 PM
To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Subject: Re: move data from Cassandra 1.1.6 to 1.2.4

Hi Dean,
It's a bit different case for us. We will have a set of new machines to replace the old ones
and we want to migrate those data over. I would imagine to do something like

 *   Let new nodes (with VNodes) join the cluster
 *   decommission the old nodes. (Without VNodes)

Thanks.
-Wei

________________________________
From: "Hiller, Dean" <Dean.Hiller@nrel.gov<mailto:Dean.Hiller@nrel.gov>>
To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>;
Wei Zhu <wz1975@yahoo.com<mailto:wz1975@yahoo.com>>
Sent: Tuesday, April 23, 2013 11:17 AM
Subject: Re: move data from Cassandra 1.1.6 to 1.2.4

We went from 1.1.4 to 1.2.2 and in QA rolling restart failed but in production and QA bringing
down the whole cluster upgrading every node and then bringing it back up worked fine.  We
left ours at randompartitioner and had LCS as well.  We did not convert to Vnodes at all.
 Don't know if it helps at all, but it is a similar case I would think.

Dean

From: Wei Zhu <wz1975@yahoo.com<mailto:wz1975@yahoo.com><mailto:wz1975@yahoo.com<mailto:wz1975@yahoo.com>>>
Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org><mailto:user@cassandra.apache.org<mailto:user@cassandra.apache.org>>"
<user@cassandra.apache.org<mailto:user@cassandra.apache.org><mailto:user@cassandra.apache.org<mailto:user@cassandra.apache.org>>>,
Wei Zhu <wz1975@yahoo.com<mailto:wz1975@yahoo.com><mailto:wz1975@yahoo.com<mailto:wz1975@yahoo.com>>>
Date: Tuesday, April 23, 2013 12:11 PM
To: Cassandr usergroup <user@cassandra.apache.org<mailto:user@cassandra.apache.org><mailto:user@cassandra.apache.org<mailto:user@cassandra.apache.org>>>
Subject: move data from Cassandra 1.1.6 to 1.2.4

Hi,
We are trying to upgrade from 1.1.6 to 1.2.4, it's not really a live upgrade. We are going
to retire the old hardware and bring in a set of new hardware for 1.2.4.
For old cluster, we have 5 nodes with RF = 3, total of 1TB data.
For new cluster, we will have 10 nodes with RF = 3. We will use VNodes. What is the best way
to bring the data from 1.1.6 to 1.2.4? A couple of concerns:

*  We also use LCS and plan to increase SSTable size.
*  We use randomPartitioner, we should stick with it, not to mess up with murmur3?

Thanks for your feedback.

-Wei


Mime
View raw message