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

Yuki Morishita updated CASSANDRA-5859:
--------------------------------------

    Attachment: 5859.txt

Initial patch attached. (Also on github: 
https://github.com/yukim/cassandra/commits/5859)

Since StreamState is complex object, I used JMX's 
[CompositeData|http://docs.oracle.com/javase/7/docs/api/javax/management/openmbean/CompositeData.html]
 to convert StreamState to be transferred over JMX.
Patch also adds support for exposing JMX notification support for stream events 
to StreamManagerMBean, so one can just monitor start/progress/completion of 
streaming.
                
> Don't return internal StreamState objects from streaming mbeans
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-5859
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5859
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Nick Bailey
>            Assignee: Yuki Morishita
>             Fix For: 2.0
>
>         Attachments: 5859.txt
>
>
> The stream manager mbean returns StreamState objects. We want to avoid 
> returning internal C* objects over jmx. We should switch to a map or 
> something similar that can represent streaming state.

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

Reply via email to