DataStax-Academy / developer-day-2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to DataStax Developer Day

In this repository, you'll find everything from the DataStax Developer Day event. There are materials used during presentations, hands-on exercises and reference applications. Feel free to bookmark this page for future reference!

Sessions

Cassandra Track

Time Title
10:30 AM - 12:15 PM Core Cassandra
01:00 PM - 02:45 PM Cassandra Data Modeling
03:00 PM - 04:45 PM Cassandra Application Development

DSE Track

Time Title
10:30 AM - 12:15 PM DSE Search
01:00 PM - 02:45 PM DSE Analytics
03:00 PM - 04:45 PM DSE Graph

Bonus Content

Time Title
01:00 PM - 02:45 PM DSE Overview
03:00 PM - 04:45 PM DSE Operations & Security

Hands-On Exercises

Instructions

Or use Docker :

docker run -e "DS_LICENSE=accept" -it -d -p 9042:9042 --name dse datastax/dse-server -s -g

Or use Docker :

docker run -e "DS_LICENSE=accept" -it -d -p 9091:9091 --link dse:dse datastax/dse-studio

If you are using docker DSE Server you may have to change the KeyspaceDefinition with

CREATE KEYSPACE IF NOT EXISTS killrvideo WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };

Core Cassandra

Notebooks Setup Notes
Core Cassandra First Touch - Data should be loaded in the killrvideo keyspace.
Core Cassandra Data Loading - Data should be loaded in the killrvideo keyspace.
- Uses the file movies.csv, located in this repo under data/csv/movies.csv.
Core Cassandra Data Availability - This notebook exercise can only be done with a three-node DSE cluster.
- Recommended to drop the killrvideo keyspace, if it exists.
- Uses a hard-coded datacenter DC1; replace that with your own datacenter name, where needed.
- Install and setup DataStax OpsCenter to monitor your cluster.

DSE Search

Notebooks Setup Notes
Search Queries - Needs the Search workload enabled.
- Data should be loaded in the killrvideo_search keyspace.
Text Search - Needs the Search workload enabled.
- Data should be loaded in the killrvideo_search keyspace.

Cassandra Data Modeling

Notebooks Setup Notes
Intro - Data should be loaded in the killrvideo keyspace.
Cassandra-Land Project - Data should be loaded in the killrvideo keyspace.

DSE Analytics

Notebooks Setup Notes
Intro - Needs the Analytics workload and Always-On SQL enabled.
- Data should be loaded in the killrvideo keyspace.
ETL - Needs the Analytics workload and Always-On SQL enabled.
- Data should be loaded in the killrvideo keyspace.
DataFrames - Needs the Analytics workload enabled.
- Data should be loaded in the killrvideo keyspace.

DSE Application Development

Notebooks Setup Notes
Prepared Statements - The KillrVideo reference app should be set up using the app-dev-days-exercises branch.
Accessors - The KillrVideo reference app should be set up using the app-dev-days-exercises branch.

DSE Graph

Notebooks Setup Notes
DSE Graph DataStax Developer Day - Needs the Graph and Search workload enabled.
- A warning message will pop out when you open the notebook saying the graph hasn't been created. Click on the button to create the graph.
- The location to the KillrVideo.kryo file in Step 3 should be edited to point to its location in your local repo, under data/graph/KillrVideo.kryo.
DSE Graph DataStax Developer Day with answers - Needs the Graph and Search workload enabled.
- A warning message will pop out when you open the notebook saying the graph hasn't been created. Click on the button to create the graph.
- The location to the KillrVideo.kryo file in Step 3 should be edited to point to its location in your local repo, under data/graph/KillrVideo.kryo.

DSE Operations & Security

Notebooks Setup Notes
Installing DSE - Needs three separate instances, DSE binary tarball, and DataStax OpsCenter.
- Scripts mentioned in the exercise are not available since they are specific to DataStax environments.
Securing DSE - Needs a three-node DSE cluster set up by the LifeCycle Manager in DataStax OpsCenter.
- Scripts mentioned in the exercise are not available since they are specific to DataStax environments.

Extra Materials

About