UNSUBSCRIBE On Tue, Apr 25, 2017 at 12:53 AM, Vladimir Yudovin <vla...@winguzone.com> wrote:
> Hi Luis, > > I don't thinks it's possible to achieve this by custom Snitch. As far as I > understand Snitch only provides cluster topology, and connectivity is done > by another component/layer. And each cluster node should be able to connect > to every other node. So I would keep with Michael's options a) - "establish > network communication forthe entire cluster" > > Best regards, Vladimir Yudovin, > *Winguzone <https://winguzone.com?from=list> - Cloud Cassandra Hosting* > > > ---- On Fri, 21 Apr 2017 15:42:17 -0400 *Luis Miguel <arb...@hotmail.com > <arb...@hotmail.com>>* wrote ---- > > Hi Michael! > > Thanks for your answer I feared that was the answer...do you know if > implementing my own Snitch would be possible to handle this situation? > ________________________________ > De: Michael Shuler <mshu...@pbandjelly.org> en nombre de Michael Shuler < > mich...@pbandjelly.org> > Enviado: viernes, 21 de abril de 2017 19:16:43 > Para: user@cassandra.apache.org > Asunto: Re: Cassandra Cluster Doubts > > You have one cluster that is comprised of N nodes that may be > distributed in racks and data centers. All the nodes of your cluster > need to be able to communicate - they are one cluster. > > I think your options would be to a) establish network communication for > the entire cluster, or b) set up a new cluster for DCR2 and sync data > snapshots of Keyspace2 in some manner, or c) figure out a second cluster > that contains the data centers that do have network connectivity and > adjust application to query the appropriate cluster. There may be some > other creative ideas that pop up. > > -- > Kind regards, > Michael > > On 04/21/2017 07:26 AM, Luis Miguel wrote: > > Hello! > > > > > > I have three DC: > > > > DC1 -> 3 nodes, Keyspace1:3 > > DC2 -> 3 nodes, Keyspace2:3 > > DCR1 -> 3 nodes, Keyspace1:2, Keyspace2:2 > > > > now I am trying to add a new datacenter to the cluster: > > > > DCR2-> 1 node (by now), Keyspace2:1 which network configuration can > > access to DC2 and DCR1 but it will never has access to DC1. > > > > when I try to start the node in DCR2, it does everything right with > > Keyspace2...but Gossips DCR1 and DC1... and crashes with > > RuntimeException because it can't move data consistently from DC1 nodes > > (obviously I don't have network connection to those nodes from this > > datacenter)... > > when I try to use -Dcassandra.consistent.rangemovement= false > > option ...It also crashes with IllegalStateException: unable to find > > sufficient sources for streaming range......etc..etc.. > > > > It is possible to have that kind of topology in cassandra? I mean.. Can > > I have a cluster where some datacenters will never "connect" other > > datacenters? > > > > Thanks in advance!!! > > > -- We can do it and do it better.