Joaquin Alzola <joaquin.alz...@lebara.com> writes:
> ...
> The error that it throws is the following one (which is logical because I do 
> not load the jar files):
> py4j.protocol.Py4JJavaError: An error occurred while calling o29.load.
> : java.lang.ClassNotFoundException: Failed to find data source: 
> org.apache.spark.sql.cassandra. Please find packages at 
> http://spark-packages.org
>
> Is there a way to load those jar files into python or the classpath when 
> calling sqlContext.read.format("org.apache.spark.sql.cassandra")?

Apparently, you are using a Python-Java bridge (looks like "pyspark"
is such a thing). I expect that such a bridge provides
ways to make JAR files known to the activated Java runtime.
Consult its documentation.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to