| Component | [4.0.0-debian13/ -ubuntu24/ -ml-ubuntu24/ -rocky9 2026/11/19](https://docs.cloud.google.com/managed-spark/docs/release-notes.md.txt#November_19_2026) | <> | <> | <> | <> |
|---|---|---|---|---|---|
| [**Apache Flink** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/flink.md.txt) | [2.2.0](https://nightlies.apache.org/flink/flink-docs-release-2.2/release-notes/flink-2.2/) |   |   |   |   |
| [**Apache Gluten** ^installed^](https://gluten.apache.org/) | [1.6](https://gluten.apache.org/) |   |   |   |   |
| [**Apache Hadoop** ^installed^](https://hadoop.apache.org/) | [3.5.0](https://hadoop.apache.org/docs/r3.5.0/) |   |   |   |   |
| [**Apache Hive** ^installed^](https://hive.apache.org/) | [4.2.0](https://archive.apache.org/dist/hive/hive-4.2.0/) |   |   |   |   |
| [**Apache Hive WebHCat** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/hivewebhcat.md.txt) | [4.2.0](https://archive.apache.org/dist/hive/hive-4.2.0/) |   |   |   |   |
| [**Apache Iceberg** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/iceberg.md.txt) | [1.12.0](https://github.com/apache/iceberg/releases/tag/apache-iceberg-1.12.0) |   |   |   |   |
| [**Apache Kafka** ^initialization action^](https://github.com/GoogleCloudDataproc/initialization-actions/tree/master/kafka) | [3.9.2](https://archive.apache.org/dist/kafka/3.9.2/RELEASE_NOTES.html) |   |   |   |   |
| [**Apache Pig** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/pig.md.txt) | [0.18.0](https://pig.apache.org/docs/r0.18.0/) |   |   |   |   |
| [**Apache Ranger** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/ranger.md.txt) | [2.8.0](https://ranger.apache.org/index.html) |   |   |   |   |
| [**Apache Spark** ^installed^](https://spark.apache.org/) | [4.2.0](https://spark.apache.org/releases/spark-release-4-2-0.html) |   |   |   |   |
| [**Apache Solr** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/solr.md.txt) | [9.10.1](https://solr.apache.org/docs/9_10_1/changes/Changes.html) |   |   |   |   |
| [**Apache Tez** ^installed^](https://tez.apache.org/) | [0.10.5](https://tez.apache.org/releases/apache-tez-0-10-5.html) |   |   |   |   |
| [**Apache Zeppelin Notebook** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/zeppelin.md.txt) | [0.12.0](https://zeppelin.apache.org/docs/0.12.0/) |   |   |   |   |
| [**Apache Zookeeper** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/zookeeper.md.txt) | [3.9.5](https://zookeeper.apache.org/doc/r3.9.5/releasenotes.html) |   |   |   |   |
| [**BigQuery Connector** ^installed^](https://docs.cloud.google.com/managed-spark/docs/concepts/connectors/bigquery.md.txt) | [0.46.0](https://github.com/GoogleCloudDataproc/spark-bigquery-connector/releases/tag/0.46.0) |   |   |   |   |
| [**Cloud Storage Connector** ^installed^](https://docs.cloud.google.com/managed-spark/docs/concepts/connectors/cloud-storage.md.txt#clusters) | [4.0.7](https://github.com/GoogleCloudDataproc/hadoop-connectors/releases/tag/v4.0.7) |   |   |   |   |
| [**Conscrypt** ^installed^](https://conscrypt.org/) | [2.6](https://github.com/google/conscrypt/tags) |   |   |   |   |
| [**Delta Lake** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/delta.md.txt) | [4.4.0](https://github.com/delta-io/delta/releases/tag/v4.4.0) |   |   |   |   |
| [**Docker** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/docker.md.txt) | [28.1](https://docs.docker.com/engine/release-notes/28/#2810) |   |   |   |   |
| [**Java** ^installed^](https://www.java.com/) | [25](https://jdk.java.net/25/) |   |   |   |   |
| [**JupyterLab Notebook** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/jupyter.md.txt) | [4.6.6](https://jupyterlab.readthedocs.io/en/stable/getting_started/changelog.html) |   |   |   |   |
| [**Python** ^installed^](https://www.python.org/) | [Pixi 0.76.0](https://pixi.prefix.dev) with [Python 3.13](https://docs.python.org/3/whatsnew/3.13.html) |   |   |   |   |
| [**R** ^installed^](https://www.r-project.org/about.html) | [R 4.5](https://cran.r-project.org/src/base/R-4/) |   |   |   |   |
| [**Scala** ^installed^](https://www.scala-lang.org/) | [2.13.17](https://www.scala-lang.org/news/2.13.17) |   |   |   |   |
| [**Trino** ^optional component^](https://docs.cloud.google.com/managed-spark/docs/concepts/components/trino.md.txt) | [480](https://trino.io/docs/current/release/release-480.html) |   |   |   |   |

## New Features and Improvements

- **Flexible VM machine types:** Starting with image version `4.0`, when you create a cluster without specifying a machine type for a cluster node, Managed Service for Apache Spark specifies the node with a ranked list of [flexible VM machine types](https://docs.cloud.google.com/managed-spark/docs/concepts/configuring-clusters/flexible-vms.md.txt), such as a ranked list of N4, N2, and E2 series machine types, with the list optimized for resource availability.

## Limitations

- **Apache Hudi:** Apache Hudi is not supported in image version `4.0`.

- **Metastores with Hive 4.2:** Image version `4.0` doesn't support BigQuery Metastore, BigLake Metastore, or Dataproc Metastore with Hive 4.2 (direct Hive queries using these metastores are not supported).

- **Delta Lake with Hive:** Delta Lake `4.x`, which is included in Managed Service for Apache Spark image version `4.0`, doesn't support Hive (queries on Delta Lake 4.4 tables cannot be executed on Hive).

## Notes:

- **Java versions:** Image version `4.0` includes Java 25 for Spark workloads. Java 21 is included for backward compatibility.

- **Iceberg Spark properties filtering:** On standard 4.0 clusters, if the optional `iceberg` component is omitted, Iceberg session extensions and default catalogs are automatically filtered from `spark-defaults.conf` during cluster activation.

- **GPU clusters:** All `4.0` image versions except `4.0-ml-ubuntu` enable [`cgroups V2`](https://kubernetes.io/docs/concepts/architecture/cgroups/). Since YARN doesn't support GPU discovery when `cgroups V2` is enabled, you must use the `4.0-ml-ubuntu` image when creating clusters with GPUs.

- Version `4.0` is a lightweight image that contains only core components, reducing exposure to Common Vulnerabilities and Exposures (CVEs). For higher security compliance requirements, use image version `2.3` or later when creating a Managed Service for Apache Spark cluster.

- **Pre-installed optional components**: The following optional components are
  pre-installed in 4.0 images and are activated if you include them during cluster creation:

  - Apache Iceberg
  - Delta Lake

  You must specify the optional components that you want to install when
  you create a cluster. For more information, see
  [Add optional components](https://docs.cloud.google.com/managed-spark/docs/concepts/components/overview.md.txt#add_optional_components).


  The following example shows the Google Cloud CLI command for creating a cluster
  with optional components:

  ```
  gcloud dataproc clusters create CLUSTER_NAME
      --optional-components=COMPONENT_NAME \
      ... other flags
  ```

  <br />

- The default resource calculator for YARN has been changed from [DefaultResourceCalculator](https://hadoop.apache.org/docs/r3.4.1/hadoop-yarn/hadoop-yarn-common/apidocs/org/apache/hadoop/yarn/util/resource/DefaultResourceCalculator.html) to [DominantResourceCalculator](https://hadoop.apache.org/docs/r3.4.1/hadoop-yarn/hadoop-yarn-common/apidocs/org/apache/hadoop/yarn/util/resource/DominantResourceCalculator.html), which uses the dominant-resource concept to determine resource allocation, such as Memory and CPU allocation. This change impacts [Autoscaler](https://docs.cloud.google.com/managed-spark/docs/concepts/configuring-clusters/autoscaling.md.txt#how_autoscaling_works), which scales based on the dominant resource usage of the cluster.