Re: Decommissioned nodes and FailureDetector

2018-01-26 Thread Oleksandr Shulgin
On Fri, Jan 19, 2018 at 6:53 PM, Tom van der Woerdt < tom.vanderwoe...@booking.com> wrote: > > Here's the code I use, hope it helps: > ... > Thanks Tom, that really does the trick! -- Alex

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: 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