Dataproc 可选 ZooKeeper 组件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
使用可选组件功能创建 Dataproc 集群时,您可以安装其他组件,例如 ZooKeeper。本页面介绍了 ZooKeeper 组件。
Apache ZooKeeper 组件是用于提供分布式数据同步的集中服务。
安装组件
在创建 Dataproc 集群时安装组件。
如需查看每个 Dataproc 映像版本中包含的组件版本,请参阅支持的 Dataproc 版本。
gcloud 命令
如需创建包含 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):2023-12-10。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或示例代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]