Content Authors:
Technical Editors:
This repository contains Studio Notebooks, data, and loading scripts to follow the examples within Chapters 3 through 12 in The Practitioners Guide to Graph Data . The content is organized as follows:
notebooks/
: All DataStax Studio Notebooks for Chapters 3 through 12. These can be uploaded into DataStax Studio via the Studio Import Tool. (Directions below)data/ch_x
: The data directory contains a folder per chapter. Within each folder, you will find the data and loading scripts to insert the data into DataStax Graph 6.8 via DataStax Bulk Loader.
The directions below detail how to get started.
You will need to download and configure two DataStax products to use this repository: DataStax Graph 6.8 with DataStax Studio and DataStax Bulk Loader
Setting Up DataStax Graph 6.8 via a tarball:
- Download our Linux distrubition of DataStax Graph 6.8 with DataStax Studio
- From your terminal, untar the distributions of DataStax Graph 6.8 and DataStax Studio
$ unzip graph-labs-20190912.zip
$ tar -xvzf dse-6.8.0.20190911-LABS-bin.tar.gz
$ tar -xvzf datastax-studio-6.8.0.20190912-LABS.tar.gz
- Start DataStax Graph:
$ ./dse-6.8.0.20190911-LABS/bin/dse cassandra -s -g -k
- Start DataStax Studio:
$ ./datastax-studio-6.8.0.20190912-LABS/bin/server.sh
- (Optional) See the DataStax Documentation for any custom configurations of DataStax Graph or DataStax Studio. This is not necessary for using this repository of examples.
Setting up DataStax Bulk Loader via a tarball:
- Download our Linus distribution of DataStax Bulk Loader
- Untar the distribution:
tar -xvzf dsbulk-1.4.1.tar.gz
- Make note of the path to the top level directory of DataStax Bulk Loader.
- (Optional) See the DataStax Documentation for any custom configurations of DataStax Bulk Loader. This is not necessary for using this repository of examples.
- Clone this repository:
git clone [email protected]:datastax/graph-book.git
- With DataStax Studio running, go to the DataStax Studio Home Page
- Upload the Chapter notebook you want to use via the Notebook Upload Tool
- Follow the directions in the Notebook!
- (Optional, Proactive Step): Set the
DEFAULT_DSBULK_PATH
variable in the data loading scripts to point to the install location of DataStax Bulk Loader. All loading scripts are located indata/ch_x/ch_x_load.sh
- Let us know what you think on Twitter
- Leave our book a review on Amazon