cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain RODRIGUEZ <arodr...@gmail.com>
Subject Re: Compact tables when offline
Date Wed, 15 Oct 2014 22:41:14 GMT
+1 for "nodetool disablegossip && nodetool disablethrift && nodetool
disablebinary" (there is a binary protocol now too, port 9042, you might
want to disable it as well depending on your clients)

"nodetool enablegossip && nodetool enablethrift && nodetool enablebinary"
to come back "online"

Cheers

2014-10-13 22:41 GMT+02:00 Robert Coli <rcoli@eventbrite.com>:

> On Mon, Oct 13, 2014 at 12:26 PM, Sholes, Joshua <
> Joshua_Sholes@cable.comcast.com> wrote:
>
>>  I thought setcompactionthroughput just adjusted the compaction speed
>> when the server is online?  I'm looking for something like a scrub (which
>> as far as I know does not do this) that will compat the tables
>> appropriately while the Cassandra daemon is down.
>>
>
> Oh, sorry I missed the "offline" detail. No.
>
> You could bring up the node with join_ring=false and compact, and then
> join the ring. But if you really want the node to be isolated, you may need
> to disablegossip/disablethrift and/or firewall with iptables for the
> duration.
>
> =Rob
>
>

Mime
View raw message