sparkmagic icon indicating copy to clipboard operation
sparkmagic copied to clipboard

Jupyterhub + Sparkmagic/levy + Spark on K8s?

Open neerawrt opened this issue 6 years ago • 9 comments

Does anyone have Jupyterhub + Sparkmagic/levy + Spark running on Kubernetes at scale (in production)?

How stable is it?

neerawrt avatar Sep 28 '19 01:09 neerawrt

I have no personal experience, but apparently Amazon EMR does Sparkmagic: https://aws.amazon.com/blogs/machine-learning/build-amazon-sagemaker-notebooks-backed-by-spark-in-amazon-emr/

itamarst avatar Sep 28 '19 12:09 itamarst

Rather fine, but have some minor issues. Already 3 prod deployments. Based on this version: https://github.com/apache/incubator-livy/pull/167 Plus some small patches.

ogidogi avatar Oct 22 '19 06:10 ogidogi

@ogidogi if you have any useful patches to Sparkmagic, could you submit them as PRs? Thanks!

itamarst avatar Oct 22 '19 13:10 itamarst

Feel free to refer the Helm setup ready for use: https://github.com/jahstreet/spark-on-kubernetes-helm . I'm opened for questions and feedback on usage. Can assist you with deployment.

jahstreet avatar Oct 26 '19 15:10 jahstreet

Also some information can be found here: https://github.com/apache/incubator-livy/pull/249

ogidogi avatar Oct 31 '19 14:10 ogidogi

@neerawrt I am currently using this exact architecture and the only problem I have found is that sparkmagic suport for jupyterlab has some bugs on the progress bar and other visual issues using the scala kernel

PedroRossi avatar Feb 10 '20 16:02 PedroRossi

Hi @PedroRossi , is there any luck for us to see the sharing of how this architecture is set up on k8s?

wjxiz1992 avatar Jan 09 '23 03:01 wjxiz1992

Hi @wjxiz1992 there a some resources online for Sparks on K8s + Apache Livy. I know Viaduct has some open source repos for their docker images: https://github.com/viaduct-ai

devstein avatar Jan 09 '23 16:01 devstein

Hey guys, I've developed a module for deploying the latest 3.4.0 server-client mode on k8s and support config PySpark Session for direct connections!

https://github.com/Wh1isper/sparglim#spark-connect-server-on-k8s

Ping @devstein @wjxiz1992 @PedroRossi @jahstreet @ogidogi @itamarst @ogidogi @neerawrt

Wh1isper avatar Jul 27 '23 05:07 Wh1isper