[
https://issues.apache.org/jira/browse/CASSANDRA-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylvain Lebresne updated CASSANDRA-1951:
----------------------------------------
Attachment: 0001-Allow-to-start-and-stop-the-thrift-server-through-JM.patch
Attached patch does the missing part, that is it allows to stop and restart the
thrift server (or avro, though I've tested the latter less extensively) from
JMX. In addition, it allows to not start the thrift server at boot time through
-Dcassandra.start_rpc=false (in which case it can be start through JMX).
Implementation note: the thrift server (connection accepting code) was running
as the main thread (serverEngine.server() was blocking) which didn't make this
easily doable so the patch change this and spawn a thread for the said
connection acception code (Avro was already doing this in a separate thread).
> offline local nodes
> -------------------
>
> Key: CASSANDRA-1951
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1951
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Gary Dusbabek
> Assignee: Sylvain Lebresne
> Priority: Minor
> Fix For: 0.7.1
>
> Attachments:
> 0001-Allow-to-start-and-stop-the-thrift-server-through-JM.patch
>
>
> We'd like the ability to take a node offline (gossip, thrift, etc), but
> without bringing down cassandra. The main reason is so that compactions can
> be performed completely off-line.
> CASSANDRA-1108 gets us most of the way there, but not all the way.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.