"Managed Service for Apache Spark" is the new name for the product formerly known as "Dataproc on Compute Engine" (cluster deployment) and "Google Cloud Serverless for Apache Spark" (serverless deployment).
Managed Service for Apache Spark optional ZooKeeper component
Stay organized with collections
Save and categorize content based on your preferences.
The Apache ZooKeeper component is a centralized service for providing distributed synchronization of data. You can install ZooKeeper when you create a Managed Service for Apache Spark cluster by using the Optional components feature.
Install the component
Install the component when you create a Managed Service for Apache Spark cluster.
See
Supported image versions
for the component version included in each Managed Service for Apache Spark image release.
Click Additional configuration to expand that section.
Edit Optional components.
In the panel that opens, select the checkbox for ZooKeeper,
then click Save.
gcloud CLI
To create a Managed Service for Apache Spark cluster that includes the ZooKeeper component,
use the
gcloud dataproc clusters createcluster-name
command with the --optional-components flag (using image version
1.0 or later).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-03 UTC."],[],[]]