Introduction to Apache Cassandra Training

This hands-on, project-based Apache Cassandra class is for people new to Cassandra. Students will learn how to install Cassandra, to define a database, to create tables, to insert, update, and delete data, to create an application, and to create and modify a multiple-node cluster.

Goals
  1. Learn how to install Cassandra.
  2. Learn to define a database in Cassandra.
  3. Learn to create tables in Cassandra.
  4. Learn to insert, update, and delete data in a Cassandra database.
  5. Learn to create a an application in Cassandra.
  6. Learn to create and modify a multiple-node cluster.
Outline
  1. The Purpose of Cassandra
    1. Understanding What Cassandra is
    2. Exercise: Access the Apache Cassandra website
    3. Learning What Cassandra is Being Used For
    4. Exercise: Learn what Cassandra is being used for
    5. Lab: Open the main course virtual machine
  2. Getting Started with the Architecture
    1. Understanding that Cassandra is a Distributed Database
    2. Exercise: View Cassandra documentation
    3. Learning What Snitch is For
    4. Learning What Gossip is For
    5. Exercise: Check your understanding
    6. Learning How Data Gets Distributed and Replicated
    7. Exercise: Access related documentation
    8. Lab: View the course projects
  3. Installing Cassandra
    1. Downloading Cassandra
    2. Exercise: Locate the tarball
    3. Ensuring Oracle Java 7 is Installed
    4. Exercise: Check that Oracle Java 7 is installed
    5. Installing Cassandra
    6. Exercise: Install Cassandra
    7. Viewing the Main Configuration File
    8. Exercise: View the cassandra.yaml file
    9. Providing Cassandra with Permission to Directories
    10. Exercise: Provide Cassandra with permission to directories
    11. Starting Cassandra
    12. Exercise: Start Cassandra
    13. Checking Status
    14. Exercise: Check status
    15. Accessing the Cassandra system.log File
    16. Exercise: Access the Cassandra system.log file
  4. Communicating with Cassandra
    1. Understanding Ways to Communicate with Cassandra
    2. Exercise: View CQL commands
    3. Using cqlsh
    4. Exercise: Access cqlsh
    5. Lab: Use cqlsh
  5. Creating a Database
    1. Understanding a Cassandra Database
    2. Exercise: View the existing keyspaces
    3. Defining a Keyspace
    4. Exercise: Define a keyspace
    5. Lab: Create a second database
  6. Creating a Table
    1. Creating a Table
    2. Exercise: Enter a keyspace
    3. Defining Columns and Data Types
    4. Exercise: Define columns and data types
    5. Defining a Primary Key
    6. Exercise: Define a primary key
    7. Recognizing a Partition Key
    8. Exercise: Recognize a partition key
    9. Specifying a Descending Clustering Order
    10. Exercise: Specify a descending clustering order
    11. Lab: Create a second table
  7. Inserting Data
    1. Understanding Ways to Write Data
    2. Using the INSERT INTO command
    3. Exercise: Use the INSERT INTO command
    4. Using the COPY command
    5. Exercise: Use the COPY command
    6. Seeing How Data is Stored in Cassandra
    7. Exercise: See how data is stored in Cassandra
    8. Seeing How Data is Stored on Disk
    9. Exercise: See how data is stored on disk
    10. Lab: Insert data
  8. Modeling Data
    1. Understanding Data Modeling in Cassandra
    2. Understanding Secondary Indexes
    3. Exercise: Use a WHERE clause
    4. Creating a Secondary Index
    5. Exercise: Create a secondary index
    6. Defining a Composite Partition Key
    7. Exercise: Define a composite partition key
  9. Creating an Application
    1. Understanding Cassandra Drivers
    2. Exercise: View the Cassandra drivers
    3. Exploring the DataStax Java Driver
    4. Exercise: Explore the DataStax Java driver
    5. Setting Up a Development Environment
    6. Exercise: Access a development environment
    7. Creating an Application Page
    8. Exercise: Create an application page
    9. Getting the DataStax Java Driver Classes
    10. Exercise: Get the DataStax Java driver classes
    11. Connecting to a Cassandra Cluster
    12. Exercise: Connect to a Cassandra cluster
    13. Executing a Query
    14. Exercise: Execute a query
    15. Displaying Query Results
    16. Exercise: Display query results
    17. Using an MVC Pattern
    18. Exercise: View an MVC pattern
    19. Lab: Create a second application
  10. Updating and Deleting Data
    1. Updating Data
    2. Exercise: Update data
    3. Understanding How Updating Works
    4. Exercise: Get an inside view into how updating works
    5. Deleting Data
    6. Exercise: Delete data
    7. Understanding Tombstones
    8. Exercise: View a tombstone
    9. Using TTLs
    10. Exercise: Create a TTL
    11. Lab: Update and delete data
  11. Selecting Hardware
    1. Understanding Hardware Choices
    2. Understanding RAM and CPU Recommendations
    3. Exercise: Check for RAM
    4. Selecting Storage
    5. Exercise: View available storage on your computer
    6. Deploying in the Cloud
    7. Exercise: View cloud recommendations
  12. Adding Nodes to a Cluster
    1. Understanding Cassandra Nodes
    2. Exercise: Set up a second a node
    3. Having a Network Connection
    4. Exercise: Have a network connection
    5. Specifying the IP Address for a Node
    6. Exercise: Specify the IP address for a node
    7. Specifying Seed Nodes
    8. Exercise: Specify seed nodes
    9. Bootstrapping a Node
    10. Exercise: Bootstrap a node
    11. Cleaning Up a Node
    12. Exercise: Clean up a node
    13. Using cassandra-stress
    14. Exercise: Use cassandra-stress
    15. Lab: Add a third node
  13. Monitoring a Cluster
    1. Understanding Cassandra Monitoring Tools
    2. Using nodetool
    3. Exercise: Use nodetool
    4. Using JConsole
    5. Exercise: Use JConsole
    6. Learning About OpsCenter
    7. Exercise: Learn about OpsCenter
  14. Repairing Nodes
    1. Understanding Repair
    2. Exercise: Modify the replication factor of a keyspace
    3. Repairing Nodes
    4. Exercise: Repair nodes
    5. Understanding Consistency
    6. Exercise: Specify consistency
    7. Understanding Hinted Handoff
    8. Understanding Read Repair
    9. Exercise: View read repair and hinted handoff settings
    10. Lab: Repair nodes for a keyspace
  15. Removing a Node
    1. Understanding Removing a Node
    2. Decommissioning a Node
    3. Exercise: Decommission a node
    4. Putting a Node Back into Service
    5. Exercise: Put a node back into service
    6. Removing a Dead Node
    7. Exercise: Remove a dead node
    8. Lab: Put a node back into service
  16. Redefining a Cluster for Multiple Data Centers
    1. Redefining for Multiple Data Centers
    2. Changing Snitch Type
    3. Exercise: Change snitch type
    4. Modifying cassandra-rackdc.properties
    5. Exercise: Modify cassandra-rackdc.properties
    6. Changing Replication Strategy
    7. Exercise: Change replication strategy
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following would be useful for this Apache Cassandra class:

  • Experience with databases, application servers, and programming.
Preparing for Class

Training for your Team

Length: 2 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

What people say about our training

I loved this class. I was able to take it from home yet still felt like I was in a classroom and get the individual attention I wanted.
Jeff Podraza
Actiance
The instructor was very personable and made me feel like I was in a real classroom situation. Even though we were online, she was able to explain everything so that we all understood what to do. Was great!
Alison Perry
Exact Sciences
I took the Introduction to CCS class and it was just what I was looking for. Being able to ask questions and show my screen when I needed to troubleshoot was great.
Patricia Heuser
Wellspring + Stockamp
Was able to follow along really clearly with the sharing of information. Awesome way to teach.
Rebecca Brackenbury
GDLS-C

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

60,501

Students who have taken Instructor-led Training

11,679

Organizations who trust Webucator for their Instructor-led training needs

100%

Satisfaction guarantee and retake option

9.28

Students rated our trainers 9.28 out of 10 based on 28,422 reviews

Contact Us or call 1-877-932-8228