Re: Cassandra 2.1: replace running node without streaming

2018-02-05 Thread Oleksandr Shulgin
On Sat, Feb 3, 2018 at 11:23 AM, Kyrylo Lebediev wrote: > Just tested on 3.11.1 and it worked for me (you may see the logs below). > > Just comprehended that there is one important prerequisite this method to > work: new node MUST be located in the same rack (in terms of C*) as the old > one. Oth

Re: Cassandra 2.1: replace running node without streaming

2018-02-03 Thread Jürgen Albersdorfer
stantaneous-in-place-node-replacement > > Thank you for your readiness to help! > > Kind Regards, > Kyrill > From: Kyrylo Lebediev > Sent: Saturday, February 3, 2018 12:23:15 PM > To: User > Subject: Re: Cassandra 2.1: replace running node without streaming > > Than

Re: Cassandra 2.1: replace running node without streaming

2018-02-03 Thread Kyrylo Lebediev
s, Kyrill From: Kyrylo Lebediev Sent: Saturday, February 3, 2018 12:23:15 PM To: User Subject: Re: Cassandra 2.1: replace running node without streaming Thank you Oleksandr, Just tested on 3.11.1 and it worked for me (you may see the logs below). Just comprehended

Re: Cassandra 2.1: replace running node without streaming

2018-02-03 Thread Kyrylo Lebediev
___ From: Oleksandr Shulgin Sent: Saturday, February 3, 2018 10:44:26 AM To: User Subject: Re: Cassandra 2.1: replace running node without streaming On 3 Feb 2018 08:49, "Jürgen Albersdorfer" mailto:jalbersdor...@gmail.com>> wrote: Cool, good to know. Do you know this is stil

Re: Cassandra 2.1: replace running node without streaming

2018-02-03 Thread Oleksandr Shulgin
On 3 Feb 2018 08:49, "Jürgen Albersdorfer" wrote: Cool, good to know. Do you know this is still true for 3.11.1? Well, I've never tried with that specific version, but this is pretty fundamental, so I would expect it to work the same way. Test in isolation if you want to be sure, though. I don

Re: Cassandra 2.1: replace running node without streaming

2018-02-02 Thread Jürgen Albersdorfer
Cool, good to know. Do you know this is still true for 3.11.1? > Am 03.02.2018 um 08:19 schrieb Oleksandr Shulgin > : > > On 3 Feb 2018 02:42, "Kyrylo Lebediev" wrote: > Thanks, Oleksandr, > In my case I'll need to replace all nodes in the cluster (one-by-one), so > streaming will introduce p

Re: Cassandra 2.1: replace running node without streaming

2018-02-02 Thread Oleksandr Shulgin
On 3 Feb 2018 02:42, "Kyrylo Lebediev" wrote: Thanks, Oleksandr, In my case I'll need to replace all nodes in the cluster (one-by-one), so streaming will introduce perceptible overhead. My question is not about data movement/copy itself, but more about all this token magic. Okay, let's say we st

Re: Cassandra 2.1: replace running node without streaming

2018-02-02 Thread Kyrylo Lebediev
.1.x with vnodes enabled? Regards, Kyrill From: Oleksandr Shulgin Sent: Friday, February 2, 2018 4:26:30 PM To: User Subject: Re: Cassandra 2.1: replace running node without streaming On Fri, Feb 2, 2018 at 3:15 PM, Kyrylo Lebediev mailto:kyrylo_lebed...@epam.com>&g

Re: Cassandra 2.1: replace running node without streaming

2018-02-02 Thread Oleksandr Shulgin
On Fri, Feb 2, 2018 at 3:15 PM, Kyrylo Lebediev wrote: > Hello All! > > I've got a pretty standard task - to replace a running C* node [version > 2.1.15, vnodes=256, Ec2Snitch] (IP address will change after replacement, > have no control over it). > > There are 2 ways stated in C* documentation h

Cassandra 2.1: replace running node without streaming

2018-02-02 Thread Kyrylo Lebediev
Hello All! I've got a pretty standard task - to replace a running C* node [version 2.1.15, vnodes=256, Ec2Snitch] (IP address will change after replacement, have no control over it). There are 2 ways stated in C* documentation how this can be done: 1) Add a new node, than 'nodetool decommissio