cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5084) Cassandra should expose connected client state via JMX
Date Sat, 14 Sep 2013 20:19:54 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mikhail Stepura updated CASSANDRA-5084:
---------------------------------------

    Attachment: cassandra-1.2-5084-native.patch

Changes for the native protocol tracker on top of 1.2
* Attach a Connection to a Channel in {{addConnection}} method. It should be safe to do that
in 1.2, because the Connection is already constructed. However, it's unnecessary (and even
may be unsafe) to do it in the trunk, where Connection is registered in its constructor.
* Renamed MBean to {{org.apache.cassandra.Client:type=NativeSessionManager}}
* Renamed the attribute to {{NumOfConnectedClients}}
* Renamed the operation to {{showConnectionDetailsForAllClients}}
                
> Cassandra should expose connected client state via JMX
> ------------------------------------------------------
>
>                 Key: CASSANDRA-5084
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5084
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Coli
>            Assignee: Suresh
>            Priority: Minor
>              Labels: lhf
>             Fix For: 1.2.10
>
>         Attachments: 5084-v1.txt, cassandra-1.2-5084-native.patch, trunk-5084-native.patch,
trunk-5084.patch, trunk-5084-sept4.patch
>
>
> There is currently no good way to determine or estimate how many clients are connected
to a cassandra node without using netstat or (if using sync thrift server) counting threads.
There is also no way to understand what state any given connection is in. People regularly
come into #cassandra/cassandra-user@ and ask how to get the equivalent of a MySQL "SHOW FULL
PROCESSLIST."
> While I understand that feature parity with SHOW FULL PROCESSLIST/information_schema.processlist
is unlikely, even a few basic metrics like "number of connected clients" or "number of active
clients" would greatly help with this operational information need.

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

Mime
View raw message