Re: Cassandra 2.1.13: Using JOIN_RING=False

2017-05-11 Thread Ben Bromhead
A rough guess on the best way to do this with cql, without looking too deeply into it: You would likely have to implement a custom load balancing policy within the driver that only uses coordinator nodes and/or modify refreshNodeListAndTokenMap() behaviour in ControlConnection.java (there should

Re: Cassandra 2.1.13: Using JOIN_RING=False

2017-05-11 Thread Dikang Gu
1. The coordinator still store system data and hints, but they should not store any user data since they are not part of ring. 2. We are using coordinator for thrift client. For cql based drivers, they needs to talk to nodes in the ring, so I think coordinator mode won't work for them. -Dikang

Cassandra 2.1.13: Using JOIN_RING=False

2017-05-09 Thread Anubhav Kale
Hello, With some inspiration from the Cassandra Summit talk from last year, we are trying to setup a cluster with coordinator-only nodes. We setup join_ring=false in env.sh, disabled auth in YAML and the nodes are able to start just fine. However, we're running into a few problems 1] The