Re: moving keyspaces to another disk while Cassandra is running

2016-03-10 Thread Alain RODRIGUEZ
FWIW: http://thelastpickle.com/blog/2016/02/25/removing-a-disk-mapping-from-cassandra.html I know it is not exactly what you want, but I believe it might be useful. C*heers, --- Alain Rodriguez - al...@thelastpickle.com France The Last Pickle - Apache Cassandra Consulting htt

Re: moving keyspaces to another disk while Cassandra is running

2016-03-09 Thread Krzysztof Księżyk
Robert Coli eventbrite.com> writes: > > On Mon, Mar 7, 2016 at 2:57 AM, Krzysztof Księżyk gmail.com> wrote:I see on lsof output that even if keyspace > is not queried, Cassandra keeps files opened, so I guess it's not safe to > hotswap, but I'd like to make sure. > > > It is not safe for exa

Re: moving keyspaces to another disk while Cassandra is running

2016-03-09 Thread Krzysztof Księżyk
Jack Krupansky gmail.com> writes: > > > If your data is replicated properly (RF=3) and you do QUORUM reads and writes, you should be able to shut down one node, adjust the configuration, and restart that node and all should be fine. Do it quickly enough (less than an hour) and the node shoul

Re: moving keyspaces to another disk while Cassandra is running

2016-03-07 Thread Robert Coli
On Mon, Mar 7, 2016 at 2:57 AM, Krzysztof Księżyk wrote: > I see on lsof output that even if keyspace > is not queried, Cassandra keeps files opened, so I guess it's not safe to > hotswap, but I'd like to make sure. > It is not safe for exactly this reason. Just restart your nodes. Were I doing

Re: moving keyspaces to another disk while Cassandra is running

2016-03-07 Thread Jack Krupansky
If your data is replicated properly (RF=3) and you do QUORUM reads and writes, you should be able to shut down one node, adjust the configuration, and restart that node and all should be fine. Do it quickly enough (less than an hour) and the node should quickly catch up with any changes. How small