question

Tri avatar image
Tri asked Erick Ramirez commented

Is it possible to minimise the installation footprint (size on disk) of DSE?

Hi,

For basic exercises, advanced modules such as `solr`, `spark`, `graph, `graph-server` are not used. Would it be OK to delete the `resources/xxx` directory corresponding to those module to save some storage space?

I did so but `dse cassandra` didn't start, because of some environment variables are not defined.

Maybe this is not a wise thing to do. Just wondered if there is a safeway to install a minimum lightweigt DSE for simple exercises (where nodes are created / deleted often).

dseinstallation
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez commented

No, unfortunately as you already found out deleting parts of the DSE installation isn't support and won't work. If you need a Cassandra installation just to do some exercises, let me suggest some alternatives.

DataStax Astra

Astra is a cloud-based Cassandra-as-a-Service offering from DataStax. With just a few clicks, you can launch a Cassandra cluster on the cloud ready to use with no installation required.

It's FREE to try with no credit card required to sign on. The free tier includes 10GB of disk space -- yours to keep FOREVER! Try it today -- https://astra.datastax.com.

OSS Cassandra

Install Apache Cassandra as a stand-alone database. The binary tarball for C* 3.11.6 is only 36MB in size.

You can download it from the official Apache site here -- https://cassandra.apache.org/download/. For download instructions and additional details, see Installing Cassandra. Cheers!

3 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tri avatar image Tri commented ·

@Erick Ramirez I did use Astra during the Dev Workshop, played around abit with it. But it doesn't fit the flow in DS201: DataStax Enterprise 6 Foundations of Apache Cassandra. In this unit some exercises requires multiple nodes, edit cassandra.yaml, edit cassandra-rackdc.properties, run some nodetool command.

Is it possible to do these with Astra?

0 Likes 0 ·
smadhavan avatar image smadhavan ♦ Tri commented ·

@Tri, it is not possible to view/tweak the configurations in Astra.

DataStax Astra, built on the best distribution of Apache Cassandra™, provides the ability to develop and deploy data-driven applications with a cloud-native service, without the hassles of database and infrastructure administration. By automating tuning and configuration, DataStax Astra radically simplifies database operations. For further reading, refer to DataStax Astra FAQ guide.

0 Likes 0 ·
Erick Ramirez avatar image Erick Ramirez ♦♦ Tri commented ·

If you're doing the DS201 course then either (a) use the VM included in the course, or (b) download OSS Apache Cassandra.

Just be aware that there are some differences between DSE and OSS C*, and that the quizzes are specific to the use of DSE in the course. Cheers!

0 Likes 0 ·