Sign inSign up

k3vin/polynote-spark

By k3vin

•Updated almost 7 years ago

Polynote with Spark (No Python)

Image
1

1.5K

k3vin/polynote-spark repository overview

⁠Polynote Spark

⁠Versions

  • Polynote: 0.2.12
  • Scala: 2.11

It is Polynote without Spark supporting both Scala and Python. It also has NumPy and pandas.

⁠Pull the Polynote with Spark image

docker pull k3vin/polynote-spark:latest

⁠Run

docker run -d -p 8192:8192 -p 4040:4040 k3vin/polynote-spark:latest

NOTE: port 4040 is for Spark Web UI.

Or If you want to keep the notebook after stopping the docker, specify the location of notebooks folder.

docker run -d -p 8192:8192 -p 4040:4040 -v /path/to/host/polynote/notebooks:/polynote/notebooks k3vin/polynote-spark:latest

⁠Start Spark

  1. Once accessing the polynote, click the Configuration & Dependencies to expand it. Configuration & Dependencies
  2. Add some Spark config (e.g. spark.master: local[*]) and click the Save & Restart button. Save & Restart
  3. Once Spark's started, you can see Spark Web UI link on the top right-hand side. Spark Web UI link

Tag summary

Content type

Image

Digest

Size

599.1 MB

Last updated

almost 7 years ago

docker pull k3vin/polynote-spark