[
https://issues.apache.org/jira/browse/CASSANDRA-6044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-6044.
---------------------------------------
Resolution: Not A Problem
Use getSimpleStates and a one-line Python script.
> FailureDetectorMBean should expose an integer of machines which are up and
> down.
> --------------------------------------------------------------------------------
>
> Key: CASSANDRA-6044
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6044
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: sankalp kohli
> Priority: Minor
> Labels: JMX
>
> Currently FailureDetectorMBean exposes ways to know whether machines are down
> or not as a string or a map. There is no way to just get a number of down or
> up machines.
> Due to this, the output needs to be parsed to calculate the down machines.
> We should add these methods to FailureDetectorMBean
> public int getDownEndpointCount();
> public int getUpEndpointCount();
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira