Re: Seed nodes and bootstrap (was: Re: Initializing a multiple node cluster (multiple datacenters))

2018-02-26 Thread Oleksandr Shulgin
On Mon, Feb 26, 2018 at 7:05 PM, Jeff Jirsa wrote: > > I'll happily click the re-open button (you could have, too), but I'm not > sure what the 'right' fix is. Feel free to move discussion to 5836. > Thanks, Jeff. Somehow, I don't see any control elements to change issue

Re: Seed nodes and bootstrap (was: Re: Initializing a multiple node cluster (multiple datacenters))

2018-02-26 Thread Jeff Jirsa
That ticket was before I was really active contributing, but I tend to agree with your assessment: clearly there's pain point there, and we can do better than the status quo. The problem (as Jonathan notes) is that its a complicated subsystem, and the "obvious" fix probably isn't as obvious as it

Seed nodes and bootstrap (was: Re: Initializing a multiple node cluster (multiple datacenters))

2018-02-26 Thread Oleksandr Shulgin
On Fri, Feb 23, 2018 at 7:35 PM, Jeff Jirsa wrote: > It comes up from time to time. Rob Coli spent years arguing that this > behavior was confusing ( https://issues.apache.org/ > jira/browse/CASSANDRA-5836 ) , especially in the "I'm replacing a failed > seed" sense. It also

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Jeff Jirsa
It comes up from time to time. Rob Coli spent years arguing that this behavior was confusing ( https://issues.apache.org/jira/browse/CASSANDRA-5836 ) , especially in the "I'm replacing a failed seed" sense. It also comes up when you're adding the first few hosts to a new DC (where they're new,

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Jon Haddad
In my opinion and experience, this isn’t a real problem, since you define a list of seeds as the first few nodes you add to a cluster. When would you add a node to an existing cluster and mark itself as a seed? It’s neither practical or something you’d do by accident. > On Feb 23, 2018,

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Jeff Jirsa
On Fri, Feb 23, 2018 at 10:12 AM, Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > On Fri, Feb 23, 2018 at 7:02 PM, Jeff Jirsa wrote: >> >> Yes, seeds don't bootstrap. But why? I don't think I ever seen a >>> comprehensive explanation of this. >>> >>> The meaning of

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Oleksandr Shulgin
On Fri, Feb 23, 2018 at 7:02 PM, Jeff Jirsa wrote: > > Yes, seeds don't bootstrap. But why? I don't think I ever seen a >> comprehensive explanation of this. >> >> The meaning of seed in the most common sense is "connect to this host, > and use it as the starting point for

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Jeff Jirsa
On Thu, Feb 22, 2018 at 11:06 PM, Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > On Thu, Feb 22, 2018 at 5:42 PM, Jonathan Haddad > wrote: > >> If it's a new cluster, there's no need to disable auto_bootstrap. >> > > True. > > >> That setting prevents the first

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-23 Thread Oleksandr Shulgin
On Fri, Feb 23, 2018 at 8:32 AM, Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > > This is important, because if you would like to use it on 3.0, it will not > work unless you make sure that auto_boostrap is *not* set to false. This > is not critical when creating DCs from scratch,

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Oleksandr Shulgin
On Thu, Feb 22, 2018 at 8:11 PM, Jon Haddad wrote: > Great question. Unfortunately, our OSS docs lack a step by step process > on how to add a DC, I’ve created a JIRA to do that: > https://issues.apache.org/jira/browse/CASSANDRA-14254 > Thanks. I'd love to contribute as

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Oleksandr Shulgin
On Thu, Feb 22, 2018 at 5:42 PM, Jonathan Haddad wrote: > If it's a new cluster, there's no need to disable auto_bootstrap. > True. > That setting prevents the first node in the second DC from being a replica > for all the data in the first DC. > Not sure where did you

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Oleksandr Shulgin
On Thu, Feb 22, 2018 at 5:36 PM, Jean Carlo wrote: > Hello > > I would like to clarify this, > > In order to initialize a cassandra multi dc cluster, without data. If I > follow the documentation datastax > >

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Jon Haddad
on on contributing before I > start. I’ll self-assign the JIRA right now. > > > > Kenneth Brotman > > > > From: Jonathan Haddad [mailto:j...@jonhaddad.com <mailto:j...@jonhaddad.com>] > Sent: Thursday, February 22, 2018 1:21 PM > To: user@cassandra.apache.org

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Jean Carlo
:j...@jonhaddad.com] > *Sent:* Thursday, February 22, 2018 1:21 PM > *To:* user@cassandra.apache.org > *Subject:* Re: Initializing a multiple node cluster (multiple datacenters) > > > > Kenneth, if you want to take the JIRA, feel free to self-assign it to > yourself and put u

RE: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Kenneth Brotman
From: Jonathan Haddad [mailto:j...@jonhaddad.com] Sent: Thursday, February 22, 2018 1:21 PM To: user@cassandra.apache.org Subject: Re: Initializing a multiple node cluster (multiple datacenters) Kenneth, if you want to take the JIRA, feel free to self-assign it to yourself and put up a pull

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Jonathan Haddad
y, February 22, 2018 11:11 AM > *To:* user > *Subject:* Re: Initializing a multiple node cluster (multiple datacenters) > > > > Great question. Unfortunately, our OSS docs lack a step by step process > on how to add a DC, I’ve created a JIRA to do that: > https://issue

RE: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Kenneth Brotman
: Re: Initializing a multiple node cluster (multiple datacenters) Great question. Unfortunately, our OSS docs lack a step by step process on how to add a DC, I’ve created a JIRA to do that: https://issues.apache.org/jira/browse/CASSANDRA-14254 The datastax docs are pretty good

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Jon Haddad
Great question. Unfortunately, our OSS docs lack a step by step process on how to add a DC, I’ve created a JIRA to do that: https://issues.apache.org/jira/browse/CASSANDRA-14254 The datastax docs are pretty good for this though:

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Jean Carlo
Hi jonathan Thank you for the answer. Do you know where to look to understand why this works. As i understood all the node then will chose ramdoms tokens. How can i assure the correctness of the ring? So as you said. Under the condition that there.is no data in the cluster. I can initialize a

Re: Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Jonathan Haddad
If it's a new cluster, there's no need to disable auto_bootstrap. That setting prevents the first node in the second DC from being a replica for all the data in the first DC. If there's no data in the first DC, you can skip a couple steps and just leave it on. Leave it on, and enjoy your

Initializing a multiple node cluster (multiple datacenters)

2018-02-22 Thread Jean Carlo
Hello I would like to clarify this, In order to initialize a cassandra multi dc cluster, without data. If I follow the documentation datastax https://docs.datastax.com/en/cassandra/2.1/cassandra/initialize/initializeMultipleDS.html It says - auto_bootstrap: false (Add this setting