Skip to content

Using Spark with Polynote

Polynote has deep integration with Apache Spark, and supports running both Scala and Python code with Spark out of the box.

In order to use Spark, you must first have it installed. Then, open the configuration for the notebook you'd like to use with Spark, and scroll down to the Spark configuration section. As long as you set anything there - any Spark property, any Spark template - and Polynote will launch your notebook with Spark enabled.

spark-master-config