Spark and Scala Version
Any version of Spark requries a specific version Scala. When you build an application to be written Scala, you want to make sure yourScala version is compatible with Spark version you have.
For example,
Spark 2.4.5 is built and distributed to work with Scala 2.12 by default. (Spark can be built to work with other versions of Scala, too.) To write applications in Scala, you will need to use a compatible Scala version (e.g. 2.12.X).
You can see Spark and Scala versions by running spark-shell
Last updated
Was this helpful?