title: How to load Spark Cassandra Connector in the shell?
body: <p>I am trying to use <a href="https://github.com/datastax/spark-cassandra-connector">Spark Cassandra Connector</a> in Spark 1.1.0.</p>
  
  <p>I have successfully built the jar file from the master branch on GitHub and have gotten the included demos to work.  However, when I try to load the jar files into the <code>spark-shell</code> I can't import any of the classes from the <code>com.datastax.spark.connector</code> package.</p>
  
  <p>I have tried using the <code>--jars</code> option on <code>spark-shell</code> and adding the directory with the jar file to Java's CLASSPATH. Neither of these options work. In fact, when I use the <code>--jars</code> option, the logging output shows that the Datastax jar is getting loaded, but I still cannot import anything from <code>com.datastax</code>.</p>
  
  <p>I have been able to load the Tuplejump Calliope Cassandra connector into the <code>spark-shell</code> using <code>--jars</code>, so I know that's working. It's just the Datastax connector which is failing for me.</p>