Re: java driver with cassandra proxies (option: -Dcassandra.join_ring=false)

2023-10-12 Thread Regis Le Bretonnic
Hi Jeff Today, we use proxy nodes with php, and we are migrating from php to java. Our farm of php servers is made of 80 physical servers, all of them having a local proxy node. So our cassandra cluster is made of : - DC1 : 6 data nodes + 40 proxies - DC2 : 6 data nodes + 40 proxies During our t

Re: java driver with cassandra proxies (option: -Dcassandra.join_ring=false)

2023-10-12 Thread Regis Le Bretonnic
Hi Stefan, Your analysis is exactly what happen ! What I can say is that we are migrating from php to java and the behaviour of the php (or cpp) driver is completely different. * The topology of the cassandra cluster returned by the contact point with the php driver includes data nodes + proxy no

Re: java driver with cassandra proxies (option: -Dcassandra.join_ring=false)

2023-10-12 Thread Miklosovic, Stefan via user
proxy went down? From: Jeff Jirsa Sent: Thursday, October 12, 2023 14:20 To: user@cassandra.apache.org Subject: Re: java driver with cassandra proxies (option: -Dcassandra.join_ring=false) NetApp Security WARNING: This is an external email. Do not click links or open attachm

Re: java driver with cassandra proxies (option: -Dcassandra.join_ring=false)

2023-10-12 Thread Jeff Jirsa
Just to be clear: - How many of the proxy nodes are you providing as contact points? One of them or all of them? It sounds like you're saying you're passing all of them, and only one is connecting, and the driver is declining to connect to the rest because they're not in system.peers. I'm not sur

Re: java driver with cassandra proxies (option: -Dcassandra.join_ring=false)

2023-10-12 Thread Regis Le Bretonnic
We have tested Stargate and were very disappointed... Originally our architecture was PHP microservices (with FPM) + cassandra proxies. But we were blocked because PHP driver is no more supported. We made tests to keep PHP + stargate but there were many issues, the main one (but not the only one)

Re: java driver with cassandra proxies (option: -Dcassandra.join_ring=false)

2023-10-12 Thread Erick Ramirez
Those nodes are not in the peers table(s) because you told them NOT to join the ring with `join_ring=false` so it is working by design. I'm not really sure what you're trying to achieve but if you want to separate the coordinator functions from the storage then what you probably want is to deploy

Re: java driver with cassandra proxies (option: -Dcassandra.join_ring=false)

2023-10-12 Thread Bowen Song via user
ata. On 11/10/2023 19:15, Regis Le Bretonnic wrote: Hi (also posted in dev mailing list but not sure I can publish on it), We use datastax cassandra java driver v4.15.0 and we want to limit connexion only to Cassandra proxy nodes (Nodes with no data started with option: -Dcassandra.join_rin

java driver with cassandra proxies (option: -Dcassandra.join_ring=false)

2023-10-11 Thread Regis Le Bretonnic
Hi (also posted in dev mailing list but not sure I can publish on it), We use datastax cassandra java driver v4.15.0 and we want to limit connexion only to Cassandra proxy nodes (Nodes with no data started with option: -Dcassandra.join_ring=false). For that: - we configured the driver to have

Re: -DCassandra.join_ring=false;

2011-09-21 Thread aaron morton
let's say I have one node, with token 0, and now I want to add 2 new > ones, with initial_token set at 1/3 and 2/3 of the full range. > > now I start nodes 2 and 3 with the -DCassandra.join_ring=false option, > and later use JMX joinRing() to let 2 and 3 join. > > if there

-DCassandra.join_ring=false;

2011-09-20 Thread Yang
CASSANDRA-526 provides this ability, I just want to make sure, let's say I have one node, with token 0, and now I want to add 2 new ones, with initial_token set at 1/3 and 2/3 of the full range. now I start nodes 2 and 3 with the -DCassandra.join_ring=false option, and later use JMX joi