Dataproc 可选 ZooKeeper 组件
bookmark_borderbookmark
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
使用可选组件功能创建 Dataproc 集群时,可以安装 Zookeeper 等其他组件。本页面介绍了 ZooKeeper 组件。
Apache Zookeeper 组件是用于提供分布式数据同步的集中服务。
安装组件
在创建 Dataproc 集群时安装组件。
如需查看每个 Dataproc 映像版本中包含的组件版本,请参阅支持的 Dataproc 版本。
如需创建包含 Zookeeper 组件的 Dataproc 集群,请使用带有 --optional-components
标志的 gcloud dataproc clusters create cluster-name命令(使用映像版本 1.0 或更高版本)。
gcloud dataproc clusters create cluster-name \
--optional-components=ZOOKEEPER \
--region=region \
... other flags
- 启用组件。
- 在 Google Cloud 控制台中,打开 Dataproc 创建集群页面。选中“设置集群”面板。
- 在“组件”部分的“可选组件”下,选择 ZooKeeper 以及其他一些要在集群上安装的可选组件。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-01。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-02-01。"],[],[]]