Migration impact of runtime version changes
This document assists you if you have applications written for Cloudera Data Engineering Spark 3.5.4 Virtual Clusters and want to run the same applications on Spark 4 Virtual Clusters. This document summarises the migration impact of multiple runtime components required by Cloudera Data Engineering Spark 3.5.4 and Spark 4 Virtual Clusters.
The following table collects the migration impact of each runtime component version.
| Component | Spark 3.5.4 (Cloudera Data Engineering with Cloudera Base Connector for 7.1.9 and Cloudera Data Engineering with Cloudera Unified Data Fabric) | Spark 3.5.8 (Cloudera Data Engineering with Cloudera Base Connector for 7.3.2, and Cloudera Data Engineering with Cloudera Unified Data Fabric) | Spark 4.1.3 (Cloudera Data Engineering with Cloudera Unified Data Fabric) | Migration impact |
|---|---|---|---|---|
| Apache Spark | 3.5.4 (Cloudera downstream) | 3.5.8 (Cloudera downstream) | 4.1.3 (Cloudera Data Engineering downstream) | API changes, ANSI mode default, deprecations |
| Java | JDK 8 (parts are built with 11, but targets 8) | JDK 17 | JDK 17 (required) | All custom JARs must be JDK 17 compatible |
| Scala | 2.12 | 2.12.19 | 2.13.16 | Binary is incompatible, you must recompile all custom JARs and UDFs |
| Python | 3.8–3.11 | 3.11 | 3.14 | Check for deprecated stdlib modules, syntax changes |
| Apache Iceberg | 1.3.0 | 1.10.1 (Cloudera downstream) | 1.11.0 (Cloudera Data Engineering downstream) | Metadata format v2 changes, new features, potential schema evolution differences |
| Hadoop AWS/Azure | Cloudera bundled (3.1.1) | Cloudera bundled (3.4.2) | 3.4.3 (Apache upstream) | Verify that configuration keys still work |
Job submission on Spark 4: Batch jobs on Spark 4 Virtual Clusters are submitted through the Spark Kubernetes Operator (0.9.0), instead of Livy. No change is required if you use the Cloudera Data Engineering UI or the CDE CLI.
