You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "sankalp kohli (JIRA)" <ji...@apache.org> on 2013/09/17 22:43:53 UTC

[jira] [Commented] (CASSANDRA-6044) FailureDetectorMBean should expose an integer of machines which are up and down.

    [ https://issues.apache.org/jira/browse/CASSANDRA-6044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769922#comment-13769922 ] 

sankalp kohli commented on CASSANDRA-6044:
------------------------------------------

The reason for this is that some JMX collecting apps at companies don't have the ability to do post processing to the JMX output. They only accept numbers as metrics. So the only way is to add a proxy in between cassandra and JMX collecting app. 
                
> 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