cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Docker image for runtime 16.4 LTS with Scala 2.13

mslow
New Contributor II

I'm trying to test a custom python package with new 16.4 LTS runtime, pulling the official Databricks docker image from

https://hub.docker.com/layers/databricksruntime/standard/16.4-LTS/images/sha256-604b73feeac08bc902ab...

Are there supposed to be two images available, one with scala 2.12 and another with 2.13, or just this one image?

2 REPLIES 2

Renu_
Contributor III

Hi @mslow, as far as I understand, DBR 16.4 LTS supports both Scala 2.12 and 2.13, but Docker Hub provides only one base image. The selection between Scala versions doesnโ€™t come from separate Docker images, it's determined during cluster creation via runtime configuration. The base image remains the same regardless of which Scala version is used.

mslow
New Contributor II

Thanks @Renu_ . That makes sense, I understand that in the DBX workspaces, you can choose between two 16.4 spark versions when creating a compute.


My confusion was with using the docker image in local environment. I pull it from the registry but then I'm also installing dependencies with pip. So if I understand it correctly, I will still pull the one and only 16.4 docker image but then based on which scala I want to test with, I need to install that scala version compatible package.

I haven't found a simple way of pip installing scala 2.13 compiled packages and what I did find was this open issue (PySpark installation doesn't support Scala 2.13 binaries)

https://issues.apache.org/jira/browse/SPARK-39995

If anyone has a suggestion for how to set up a local Dockerfile to run 16.4 image and scala 2.13 packages, it would be greatly appreciated.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now