You can install additional components when you create a Cloud Dataproc cluster using the Optional Components feature. This page describes the Zookeeper component.
The Apache Zookeeper component is centralized service for providing distributed synchronization of data.
Install the component
Install the component when you create a Cloud Dataproc cluster.
See Supported Cloud Dataproc versions for the component version included in each Cloud Dataproc image release.
To create a Cloud Dataproc cluster that includes the Zookeeper component,
gcloud beta dataproc clusters create cluster-name
command with the
--optional-components flag (using image version
1.0 or later).
gcloud beta dataproc clusters create cluster-name \ --optional-components=ZOOKEEPER \ ... other flags
REST APIThe Zookeeper component can be specified through the Cloud Dataproc API using SoftwareConfig.Component as part of a clusters.create request.
Currently, the Zookeeper Cloud Dataproc component is not supported in the Google Cloud Platform Console.