Re: Decommissioned nodes and FailureDetector

2018-01-19 Thread Tom van der Woerdt
Hi Oleksandr, Here's the code I use, hope it helps: ownership = jolokia_read("org.apache.cassandra.db:type=StorageService", "Ownership") unreachable = jolokia_read("org.apache.cassandra.db:type=StorageService", "UnreachableNodes") ownership_by_ip = {} for nodeinfo, ownership_ratio

Re: Upgrade to 3.11.1 give SSLv2Hello is disabled error

2018-01-19 Thread Tommy Stendahl
I have continued the upgrade of the cluster using the default protocol setting and after upgrading all nodes there were no problems switching back to "TLSv1.2". But I will try to reproduce the problem using a ccm cluster, I think that should be relatively easy, and when  can try the -Djavax.net

Unable to change IP address from private to public

2018-01-19 Thread Thomas Goossens
Hello, For an 8-node Cassandra 2.2.11 cluster which is spread over two datacenters, I am looking to change from using private IP addresses to the combination of private and public IP addresses and interfaces. The cluster uses the GossipingPropertyFileSnitch. The aim is to end up with each peer be

Re: Decommissioned nodes and FailureDetector

2018-01-19 Thread Oleksandr Shulgin
On Fri, Jan 19, 2018 at 11:17 AM, Nicolas Guyomar wrote: > Hi, > > Not sure if StorageService should be accessed, but you can check node > movement here : > 'org.apache.cassandra.db:type=StorageService/LeavingNodes', > 'org.apache.cassandra.db:type=StorageService/LiveNodes', > 'org.apache.cassand

Re: Decommissioned nodes and FailureDetector

2018-01-19 Thread Nicolas Guyomar
Hi, Not sure if StorageService should be accessed, but you can check node movement here : 'org.apache.cassandra.db:type=StorageService/LeavingNodes', 'org.apache.cassandra.db:type=StorageService/LiveNodes', 'org.apache.cassandra.db:type=StorageService/UnreachableNodes', 'org.apache.cassandra.db:ty

Decommissioned nodes and FailureDetector

2018-01-19 Thread Oleksandr Shulgin
Hello, Is there a better way to monitor for Cassandra nodes going Down than querying via JMX for a condition like FailureDetector.DownEndpointCount > 0? The problem for us is when any node is decommissioned, it affects the DownEndpointCount for another ~3 days (the famous 72 hours of gossip). Is