RE: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-13 Thread Marie-Anne
How do I get off this listserv? From: Gil Ganz [mailto:gilg...@gmail.com] Sent: Monday, July 13, 2020 11:30 AM To: user@cassandra.apache.org Subject: Re: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS Jon, great advice, I ended up doing just that, if anyone else needs

Re: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-13 Thread Gil Ganz
Jon, great advice, I ended up doing just that, if anyone else needs to do the same thing, here is a 3.11.6 version https://github.com/gilganz/twcs/tree/cassandra-3.11 Indeed switching between twcs strategies did not trigger any sstable change. Jeff, nothing to be sorry about, gave me an

Re: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-09 Thread Jeff Jirsa
On Thu, Jul 9, 2020 at 9:02 AM Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > On Thu, Jul 9, 2020 at 5:54 PM Gil Ganz wrote: > > Another question, did changing the compaction strategy from one twcs to >> the other trigger merging of old sstables? >> > > I don't recall any unexpected

Re: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-09 Thread Jon Haddad
You could also pull TWCS out of the version of Cassandra you want to deploy, fix the imports and change the package name. Then you've got the same version as OSS, just under the name you're using in 2.1. Once you've moved to 3.11, you can switch to the OSS version. On Thu, Jul 9, 2020 at 9:09

Re: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-09 Thread Gil Ganz
Great, thank you very much! On Thu, Jul 9, 2020 at 7:02 PM Oleksandr Shulgin < oleksandr.shul...@zalando.de> wrote: > On Thu, Jul 9, 2020 at 5:54 PM Gil Ganz wrote: > >> That sounds very interesting Alex, so just to be sure I understand, it >> was like this >> 1 - you had 2.1 cluster running

Re: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-09 Thread Oleksandr Shulgin
On Thu, Jul 9, 2020 at 5:54 PM Gil Ganz wrote: > That sounds very interesting Alex, so just to be sure I understand, it was > like this > 1 - you had 2.1 cluster running with the 2.1 version jar > 2 - you upgraded to 3.0, starting the cluster with the 3.0 version jar > that has the same strategy

Re: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-09 Thread Gil Ganz
That sounds very interesting Alex, so just to be sure I understand, it was like this 1 - you had 2.1 cluster running with the 2.1 version jar 2 - you upgraded to 3.0, starting the cluster with the 3.0 version jar that has the same strategy name 3 - you changed the compaction strategy to use the

Re: Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-09 Thread Oleksandr Shulgin
On Thu, Jul 9, 2020 at 3:38 PM Gil Ganz wrote: > Hey > I have a 2.11.4 cluster with tables that are defined with twcs, using > jeff's jar > > https://github.com/jeffjirsa/twcs > > All working great, but now I want to upgrade to 3.11, and I have a > problem, cassandra won't start, it fails on the

Upgrading cassandra cluster from 2.1 to 3.X when using custom TWCS

2020-07-09 Thread Gil Ganz
Hey I have a 2.11.4 cluster with tables that are defined with twcs, using jeff's jar https://github.com/jeffjirsa/twcs All working great, but now I want to upgrade to 3.11, and I have a problem, cassandra won't start, it fails on the following error ERROR [main] 2020-07-09 13:30:29,823