Error when using the write() function

Hi @marise,

A couple of things to note here:

First, I suspect this is a problem with the classpath. Can you try running hl.init without starting a spark session? If this works, then you’ll need to manually configure spark as Dan suggested in the post below before you create the session. You can do this via pyspark.SparkConf in your python session.

Secondly, driver_cores has no effect if you’re creating your own spark session. Also worker_memory applies to the 'batch' backend only.

Hope this helps,