Created
May 4, 2015 22:10
-
-
Save rustyrazorblade/e5ce95b41759b4548143 to your computer and use it in GitHub Desktop.
ipython notebook with spark & cassandra
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PYSPARK_ROOT=/Users/jhaddad/dev/pyspark-cassandra/target | |
| export PYSPARK_DRIVER_PYTHON=ipython PYSPARK_DRIVER_PYTHON_OPTS="notebook" | |
| pyspark \ | |
| --jars ${PYSPARK_ROOT}/pyspark_cassandra-0.1.4.jar \ | |
| --driver-class-path ${PYSPARK_ROOT}/pyspark_cassandra-0.1.4.jar \ | |
| --py-files ${PYSPARK_ROOT}/pyspark_cassandra-0.1.4-py2.7.egg \ | |
| --conf spark.cassandra.connection.host=127.0.0.1 \ | |
| --master spark://127.0.0.1:7077 \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment