From f976b1ccfaa6aef0b6cdc40d4c088ed1e4d4bb6d Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Tue, 3 Aug 2021 16:36:36 -0400 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E7=BE=A4=E6=96=B9=E5=BC=8F=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=20-=20=E4=BB=8E=E7=8B=AC=E7=AB=8B=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E9=83=A8=E7=BD=B2=E4=B8=8A=E5=90=88=E5=B9=B6=E5=88=B0?= =?UTF-8?q?=E9=9B=86=E7=BE=A4=20-=20=E5=85=83=E6=95=B0=E6=8D=AE=E5=AD=98?= =?UTF-8?q?=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tutorials/cluster.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tutorials/cluster.md b/tutorials/cluster.md index 3a6d156..049c4ef 100644 --- a/tutorials/cluster.md +++ b/tutorials/cluster.md @@ -161,17 +161,19 @@ cd apache-druid-apache-druid-0.21.1 集群环境的部署是需要配置深度存储的,例如 S3 或 HDFS。 如果单实例部署已在使用分布式深度存储,则可以在新集群中继续使用当前的深度存储。 -### Metadata storage +### 元数据存储 -In `conf/druid/cluster/_common/common.runtime.properties`, replace -"metadata.storage.*" with the address of the machine that you will use as your metadata store: +在 `conf/druid/cluster/_common/common.runtime.properties` 配置文件中,替换 "metadata.storage.*" 的的属性来确定元数据存储的服务器地址。 +元数据通常是存储在数据库中的,因此你可以在这里配置你的数据库服务器地址。 - `druid.metadata.storage.connector.connectURI` - `druid.metadata.storage.connector.host` -In a production deployment, we recommend running a dedicated metadata store such as MySQL or PostgreSQL with replication, deployed separately from the Druid servers. +在实际的生产环境中,我们推荐你使用独立的元数据存储数据库例如 MySQL 或者 PostgreSQL 来增加冗余性。 +这个配置将会在 Druid 服务器外部配置一个数据库连接来保留一套元数据的配置信息,以增加数据冗余性。 -The [MySQL extension](../development/extensions-core/mysql.md) and [PostgreSQL extension](../development/extensions-core/postgresql.md) docs have instructions for extension configuration and initial database setup. +[MySQL extension](../development/extensions-core/mysql.md) 和 [PostgreSQL extension](../development/extensions-core/postgresql.md) +页面中有如何对扩展进行配置和对数据库如何进行初始化的说明,请参考上面页面中的内容。 ### Deep storage