You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "Lu, Boying" <Bo...@emc.com> on 2014/01/21 11:13:19 UTC
How to add a new DC to cluster in Cassandra 2.x
Hi, All,
I'm new to Cassandra. I want to know how to add a DC to existing Cassandra cluster (all running Cassandra 2.x).
I found a related document at http://www.datastax.com/docs/1.1/cluster_management
Is it still valid for Cassandra 2.x?
Thanks
Boying
Re: How to add a new DC to cluster in Cassandra 2.x
Posted by Cyril Scetbon <cy...@free.fr>.
Can someone from Datastax confirm this point ? If it's true, is it the same for a decommission ? I mean, if we decommission a node with old data (in case it has been down for more than max_hint_window_in_ms and not repaired), will we finally have a situation where old data has been spread and we need to use repair -pr everywhere to not get (really) old data with LOCAL_ONE consistency ?
I use branch cassandra-1.2 but if there are differences between this branch and cassandra-2.0 tell me.
Thanks
--
Cyril SCETBON
On 23 Jan 2014, at 21:53, Robert Coli <rc...@eventbrite.com> wrote:
> On Tue, Jan 21, 2014 at 7:16 AM, Tupshin Harper <tu...@tupshin.com> wrote:
> This should be the doc you are looking for.
>
> http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/operations/ops_add_dc_to_cluster_t.html
>
>
> Rebuild (like bootstrap) only streams data from a single source replica per range. IMO, therefore, the above process "should" end with a "repair all nodes in both data centers with -pr" step. Otherwise, requests to the new DC with LOCAL_X ConsistencyLevels or CL.ONE may violate consistency.
>
> I have bcc:ed docs@datastax.com, in case they agree and want to modify the above doc. :D
>
> =Rob
>
RE: How to add a new DC to cluster in Cassandra 2.x
Posted by "Lu, Boying" <Bo...@emc.com>.
Thanks a lot :)
From: Robert Coli [mailto:rcoli@eventbrite.com]
Sent: 2014年1月24日 4:54
To: user@cassandra.apache.org
Subject: Re: How to add a new DC to cluster in Cassandra 2.x
On Tue, Jan 21, 2014 at 7:16 AM, Tupshin Harper <tu...@tupshin.com>> wrote:
This should be the doc you are looking for.
http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/operations/ops_add_dc_to_cluster_t.html
Rebuild (like bootstrap) only streams data from a single source replica per range. IMO, therefore, the above process "should" end with a "repair all nodes in both data centers with -pr" step. Otherwise, requests to the new DC with LOCAL_X ConsistencyLevels or CL.ONE may violate consistency.
I have bcc:ed docs@datastax.com<ma...@datastax.com>, in case they agree and want to modify the above doc. :D
=Rob
Re: How to add a new DC to cluster in Cassandra 2.x
Posted by Cyril Scetbon <cy...@free.fr>.
If true, it means that adding a datacenter or bootstrapping a new node will be a more complex and slower operation than it is actually...
--
Cyril SCETBON
On 23 Jan 2014, at 21:53, Robert Coli <rc...@eventbrite.com> wrote:
> Rebuild (like bootstrap) only streams data from a single source replica per range. IMO, therefore, the above process "should" end with a "repair all nodes in both data centers with -pr" step. Otherwise, requests to the new DC with LOCAL_X ConsistencyLevels or CL.ONE may violate consistency.
Re: How to add a new DC to cluster in Cassandra 2.x
Posted by Robert Coli <rc...@eventbrite.com>.
On Tue, Jan 21, 2014 at 7:16 AM, Tupshin Harper <tu...@tupshin.com> wrote:
> This should be the doc you are looking for.
>
>
> http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/operations/ops_add_dc_to_cluster_t.html
>
Rebuild (like bootstrap) only streams data from a single source replica per
range. IMO, therefore, the above process "should" end with a "repair all
nodes in both data centers with -pr" step. Otherwise, requests to the new
DC with LOCAL_X ConsistencyLevels or CL.ONE may violate consistency.
I have bcc:ed docs@datastax.com, in case they agree and want to modify the
above doc. :D
=Rob
RE: How to add a new DC to cluster in Cassandra 2.x
Posted by "Lu, Boying" <Bo...@emc.com>.
Thanks a lot. That’s what I want.
From: Tupshin Harper [mailto:tupshin@tupshin.com]
Sent: 2014年1月21日 23:16
To: user@cassandra.apache.org
Subject: Re: How to add a new DC to cluster in Cassandra 2.x
This should be the doc you are looking for.
http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/operations/ops_add_dc_to_cluster_t.html
-Tupshin
On Jan 21, 2014 2:14 AM, "Lu, Boying" <Bo...@emc.com>> wrote:
Hi, All,
I’m new to Cassandra. I want to know how to add a DC to existing Cassandra cluster (all running Cassandra 2.x).
I found a related document at http://www.datastax.com/docs/1.1/cluster_management
Is it still valid for Cassandra 2.x?
Thanks
Boying
Re: How to add a new DC to cluster in Cassandra 2.x
Posted by Tupshin Harper <tu...@tupshin.com>.
This should be the doc you are looking for.
http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/operations/ops_add_dc_to_cluster_t.html
-Tupshin
On Jan 21, 2014 2:14 AM, "Lu, Boying" <Bo...@emc.com> wrote:
> Hi, All,
>
>
>
> I’m new to Cassandra. I want to know how to add a DC to existing Cassandra
> cluster (all running Cassandra 2.x).
>
> I found a related document at
> http://www.datastax.com/docs/1.1/cluster_management
>
>
>
> Is it still valid for Cassandra 2.x?
>
>
>
> Thanks
>
>
>
> Boying
>