In Apache Cassandra Lunch #63, CEO of Anant Rahul Singh went over a live demo of how to install Cassandra 4.0 from a tarball on Linux
Accompanying Blog: Coming Soon!
Accompanying YouTube: https://youtu.be/Xmzr7Kvb0bg
Sign Up For Our Newsletter: http://eepurl.com/grdMkn
Join Cassandra Lunch Weekly at 12 PM EST Every Wednesday: https://www.meetup.com/Cassandra-DataStax-DC/events/
Cassandra.Link:
https://cassandra.link/
Follow Us and Reach Us At:
Anant:
https://www.anant.us/
Awesome Cassandra:
https://github.com/Anant/awesome-cassandra
Cassandra.Lunch:
https://github.com/Anant/Cassandra.Lunch
Email:
solutions@anant.us
LinkedIn:
https://www.linkedin.com/company/anant/
Twitter:
https://twitter.com/anantcorp
Eventbrite:
https://www.eventbrite.com/o/anant-1072927283
Facebook:
https://www.facebook.com/AnantCorp/
Join The Anant Team:
https://www.careers.anant.us
Apache Cassandra Lunch #63: How to Install Cassandra 4.0 From a Tarball On Linux
1. How to install Apache
Cassandra 4.0 using a
Tarball
Linux Distribution Agnostic Installation
2. Create and
manage global
data platforms.
www.anant.us | solutions@anant.us | (855) 262-6826
3 Washington Circle, NW | Suite 301 | Washington, DC 20037
3. ARCHITECT
noun: architect; chief builder
verb: architect; design or make (COMPUTING)
“We create and manage global platforms that run on
Cassandra and related technologies.”
4. 4
Things We Love : Scalable Fast Data
Without Datastax
With Datastax
6. RPM / DEB / APT / TAR / Docker ???
RPM / DEB / APT (Packages)
1. Great if you are all bought into the
package management system.
2. Great if you host your own
repositories for DEB/RPM/APT etc in
your enterprise.
3. Great because it’s easy.
4. Not great if you don’t have control
over the system to manage packages.
TARBALL
1. Great if you know what you are
doing.
2. Great if you don’t have root access
but need to run things.
3. Great if you want to be able to switch
between versions of Cassandra
4. No general downsides except that
you can’t do “yum update …” etc.
11. Start Cassandra
$ cd apache-cassandra-4.0.0/ && bin/cassandra
$ tail -f logs/system.log
See if it’s up
$ bin/nodetool status
$ bin/cqlsh
12. Apache Cassandra Configuration Files
● conf/cassandra.yml
● conf/cassandra-rackdc.properties
● conf/cassandra-env.sh
<tarball_installation>/
bin/
conf/
data/
doc/
interface/
javadoc/
lib/
logs/
pylib/
tools/
● cluster_name: Set the name of your cluster.
● seeds: A comma separated list of the IP addresses of your cluster seed nodes.
● storage_port: Check that you don’t have the default port of 7000 blocked by a firewall.
● listen_address: The listen address is the IP address of a node that allows it to communicate
with other nodes in the cluster. Set to localhost by default.
● native_transport_port: Check that you don’t have the default port of 9042 blocked by a
firewall, so that clients like cqlsh can communicate with Cassandra on this port
15. Create and
manage global
data platforms.
www.anant.us | solutions@anant.us | (855) 262-6826
3 Washington Circle, NW | Suite 301 | Washington, DC 20037