how to upgrade cassandra from 0.8 to 2.1.8 - cassandra

now we have an Cassandra database version 0.8, we want to upgrade this to 2.1.8, from the document looks like we need to upgrade 1.2.9 first, could anyone help us give us some suggestions how to do it?

Please consult the DataStax Upgrade Guide and make sure to read the upgrade sections of all versions starting with 0.8 in the NEWS.txt file.

Related

Can directly upgrade ScyllaDB 2.1.x to ScyllaDB 3.x.x?

As I have checked Scylla DB documentation and not found clearly where we can upgrade directly from Scylla version 2.1.x to 3.x.x directly.Is there any middle version upgrade required between 2.1.x to 3.x.x? Please help
The process is not documented, because it was not tested
You can follow the 2.1 to 2.2 instructions using 3.0, and everything should work, but the safest path will be 2.1 --> 2.2 --> 2.3 --> 3.0.2
Tzach
(ScyllaDB Product Manager)

cassandra 2.1 -> 3.0 upgrade restrictions

I'm trying to understand restrictions of upgrade from/to different versions of cassandra.
On the one hand, Cassandra docs
http://docs.datastax.com/en/upgrade/doc/upgrade/cassandra/upgradeC_c.html
are saying "Cassandra 3.0.x restrictions: Upgrade from Cassandra 2.1 versions greater or equal to 2.1.9...", and I understand that as 'you couldn't upgrade to 3.0 from 2.1.8 and prior 2.1.* versions'.
On the other hand, there are no any restrictions on upgrading from, say, 2.1.8 (version prior to 2.1.9) to 2.1.11 (version grater then 2.1.9), in particular, 2.1.8->2.1.11 upgrade don't require upgrade of sstables.
So, could someone explain, why it's possible to upgrade from 2.1.9 to 3.0 but not from 2.1.8 to 3.0?
The docs restrict you from upgrading from early 2.1 versions to 3.0 because there are bug fixes and stability improvements in the later 2.1 releases that affect upgrades.
The best practice is to go to the latest patch on your branch before upgrading a major release. I.E. go to the latest 2.1.x and then go to 3.0.
Note: 3.0.0 dropped last night and it is very early in its release cycle. Make sure you test thoroughly in a qa environment before upgrading your production instance and follow the upgrade docs carefully.

How to upgrade datastax enterprise server 3.0.2 to 4.0?

What is the correct procedure of upgrading Datastax enterprise server. We have the datastax 3.0.2 running and we need to upgrade it to 4.0.1.
Can it be done using the Opscenter UI? Or do I need to manually upgrade the package on each machine.
Thanks.
There are pretty good upgrade instructions in the docs: http://www.datastax.com/documentation/upgrade/doc/upgrade/datastax_enterprise/upgradeTo4_0.html
You will need to manually upgrade each node, and it will take two upgrades, as you have to first upgrade to the latest DSE 3.2 release (3.2.6 right now), then upgrade to DSE 4.0 (and you should go to the latest which is 4.0.3 right now)

Upgrading Cassandra from 1.2.10 to 2.0.1

I am trying to upgrade a cassandra single node installation from 1.2.10 to 2.0.1.
I am using still the old RandomPartitioner, I change all the parameters in the cassandra.yaml file. But when I tried to start the node I get this error:
java.lang.RuntimeException: Can't open incompatible SSTable! Current version jb
In the notes from the documentation I can not find anything related with the change in the SSTables, did anyone deal with this problem?
If you guys had previously upgraded from an earlier version to 1.2.10, did you guys perform a 'nodetool upgradesstables'? This would have upgraded sstables to prevent possible incompatibilities.
The upgrade procedure from 1.2.9 to 2.x does not seem to recommend running it, so those sstables should be compatible, but trying it again might be worth it.
http://www.datastax.com/documentation/cassandra/1.2/webhelp/#upgrade/upgradeC_c.html#task_ds_gqm_vzr_ck

Upgrade Cassandra Version Brisk

How can I upgrade the cassandra version and thrift version in Brisk?
Is there any tutorials kind of stuffs avalailble? I changed the build.properties file but on build, the version I mentioned couldn't be located at any repository.
Im trying to upgrade because of Cassandra Insertion Error
this issue im facing. I hope the comment mentioned there helps
What is the latest version of cassandra that brisk supports?
In support forums I see people mentioning, replace the jars. I don't understand where should I do that.
Thanks for Help in advance
Regards,
Tamil
Finally I found the way to upgrade Brisk's cassandra version.
I Downloaded apache-cassandra-0.8.6-bin from apache site.
Copied
lib/apache-cassandra-0.8.6.jar and lib/apache-cassandra-thrift-0.8.6.jar
to
brisk-1.0~beta2-bin/resources/cassandra/lib/
and removed the older version's cassandra and thrift jars
and just restarted brisk with ./brisk cassandra
and tried this
$ ./nodetool -h x.x.x.x version
ReleaseVersion: 0.8.6
So, I hope there won't any compatability issues, since in a forum a brisk dev mentioned tat brisk core works independently against cassandra core. But I'm yet to know the way to do it by building from src rather replacing jars in bin
Regards,
Tamil

Resources