Skip to content

Commit

Permalink
SPARKC-23: Updated Quickstart with CLASSPATH Instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellSpitzer committed Jan 20, 2015
1 parent 7d556d1 commit e7c6303
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/0_quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ Add the `spark-cassandra-connector` jar and its dependency jars to the following
- the classpath of your project
- the classpath of every Spark cluster node

The easiest way to do this is to make the assembled connector jar using

sbt assembly
This will generate a jar file with all of the required dependencies in

spark-cassandra-connector/spark-cassandra-connector/target/scala-2.10/spark-cassandra-connector-assembly-*.jar
Then add this jar to your Spark classpath by adding the following line to your spark-env.sh

SPARK_CLASSPATH=spark-cassandra-connector/spark-cassandra-connector/target/scala-2.10/spark-cassandra-connector-assembly-$CurrentVersion-SNAPSHOT.jar

This driver is also compatible with Spark distribution provided in
[DataStax Enterprise 4.5](http://www.datastax.com/documentation/datastax_enterprise/4.5/datastax_enterprise/newFeatures.html).

Expand Down

0 comments on commit e7c6303

Please sign in to comment.