Traceback (most recent call last):
File "src/main/python/user/skuSalesForecast.py", line 34, in <module>
spark = SparkSession.builder.appName("Sku Sales Forecast").config("spark.cassandra.connection.host", "cassandraHost") \
File "/home/
aihello.com/.local/lib/python3.8/site-packages/pyspark/sql/session.py", line 186, in getOrCreate
sc = SparkContext.getOrCreate(sparkConf)
File "/home/
aihello.com/.local/lib/python3.8/site-packages/pyspark/context.py", line 371, in getOrCreate
SparkContext(conf=conf or SparkConf())
File "/home/
aihello.com/.local/lib/python3.8/site-packages/pyspark/context.py", line 130, in __init__
self._do_init(master, appName, sparkHome, pyFiles, environment, batchSize, serializer,
File "/home/
aihello.com/.local/lib/python3.8/site-packages/pyspark/context.py", line 193, in _do_init
self._jsc = jsc or self._initialize_context(self._conf._jconf)
File "/home/
aihello.com/.local/lib/python3.8/site-packages/pyspark/context.py", line 310, in _initialize_context
return self._jvm.JavaSparkContext(jconf)
File "/home/
aihello.com/.local/lib/python3.8/site-packages/py4j/java_gateway.py", line 1568, in __call__
return_value = get_return_value(
File "/home/
aihello.com/.local/lib/python3.8/site-packages/py4j/protocol.py", line 326, in get_return_value
raise Py4JJavaError(
py4j.protocol.Py4JJavaError: An error occurred while calling None.org.apache.spark.api.java.JavaSparkContext.
: java.io.FileNotFoundException: File file:/home/
aihello.com/.ivy2/jars/com.github.jnr_jffi-1.2.19.jar does not exist
The same cassandra driver + spark version works with scala.