Sign inSign up

bhavik9243/polynote-spark

By bhavik9243

•Updated almost 7 years ago

Image
0

290

bhavik9243/polynote-spark repository overview

⁠docker-polynote-spark

Dockerized Polynote notebook with spark and first class scala support. Thanks Netflix for open-sourcing it :)

⁠Features!
- Apache Spark 2.4.4
- Polynote
- AWS S3 libraries for Spark

Note : You need to configure config/spark-defaults.conf file with your s3 credentials in order to read data from aws s3 into spark.

⁠Installation

Pull docker image from docker hub repository

$ docker pull bhavik9243/polynote-spark:latest
⁠Run/Start/Stop Container

First clone this repository to your local system and cd into it.

$ cd docker-polynote-spark
$ docker run -itd --name polynote -p 127.0.0.1:8192:8192 -p 127.0.0.1:4040-4050:4040-4050 -v `pwd`/data:/data -v `pwd`/config:/opt/spark/conf -v `pwd`/notebooks:/opt/notebooks bhavik9243/polynote-spark:latest
$ docker start polynote
$ docker stop polynote
⁠Polynote Access
⁠Enjoy! :)

Tag summary

Content type

Image

Digest

Size

1.3 GB

Last updated

almost 7 years ago

docker pull bhavik9243/polynote-spark