This is an automated email from the ASF dual-hosted git repository. zhuzh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit 04dd91f2b6c830b9ac0e445f72938e3d6f479edd Author: JunRuiLee <jrlee....@gmail.com> AuthorDate: Sun Feb 4 16:40:35 2024 +0800 [FLINK-34247][doc] Update the usage of "env.java.home" in doc. --- .../docs/deployment/resource-providers/standalone/overview.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/content.zh/docs/deployment/resource-providers/standalone/overview.md b/docs/content.zh/docs/deployment/resource-providers/standalone/overview.md index 229d028c24c..fd658ba5c4d 100644 --- a/docs/content.zh/docs/deployment/resource-providers/standalone/overview.md +++ b/docs/content.zh/docs/deployment/resource-providers/standalone/overview.md @@ -61,7 +61,7 @@ Flink 运行在所有*类 UNIX 环境*下,例如 **Linux**,**Mac OS X** 和 Flink 需要 master 和所有 worker 节点设置 `JAVA_HOME` 环境变量,并指向你的 Java 安装目录。 -你可以在 `conf/flink-conf.yaml` 文件中通过 `env.java.home` 配置项来设置此变量。 +你可以在 [Flink 配置文件]({{< ref "docs/deployment/config#flink-configuration-file" >}})中通过 `env.java.home` 配置项来设置此变量。 需要注意的是,该配置项必须以 flattened 的格式(即一行键值对格式)在配置文件中。 {{< top >}} @@ -82,11 +82,11 @@ cd flink-* ### 配置 Flink -在解压完文件后,你需要编辑 *conf/flink-conf.yaml* 文件来为集群配置 Flink。 +在解压完文件后,你需要编辑 [*Flink 配置文件*]({{< ref "docs/deployment/config#flink-configuration-file" >}})来为集群配置 Flink。 设置 `jobmanager.rpc.address` 配置项指向 master 节点。你也应该通过设置 `jobmanager.memory.process.size` 和 `taskmanager.memory.process.size` 配置项来定义 Flink 允许在每个节点上分配的最大内存值。 -这些值的单位是 MB。如果一些 worker 节点上有你想分配到 Flink 系统的多余内存,你可以在这些特定节点的 *conf/flink-conf.yaml* 文件中重写 `taskmanager.memory.process.size` 或 `taskmanager.memory.flink.size` 的默认值。 +这些值的单位是 MB。如果一些 worker 节点上有你想分配到 Flink 系统的多余内存,你可以在这些特定节点的 [*Flink 配置文件*]({{< ref "docs/deployment/config#flink-configuration-file" >}}) 文件中重写 `taskmanager.memory.process.size` 或 `taskmanager.memory.flink.size` 的默认值。 最后,你必须提供集群上会被用作为 worker 节点的所有节点列表,也就是运行 TaskManager 的节点。编辑文件 *conf/workers* 并输入每个 worker 节点的 IP 或主机名。 @@ -99,7 +99,7 @@ cd flink-* <div class="col-md-6"> <div class="row"> <p class="lead text-center"> - /path/to/<strong>flink/conf/<br>flink-conf.yaml</strong> + /path/to/<strong>flink/conf/<br>config.yaml</strong> <pre>jobmanager.rpc.address: 10.0.0.1</pre> </p> </div> @@ -192,7 +192,7 @@ By default, the job manager will pick a *random port* for inter process communic ### Example: Standalone Cluster with 2 JobManagers -1. **Configure high availability mode and ZooKeeper quorum** in `conf/flink-conf.yaml`: +1. **Configure high availability mode and ZooKeeper quorum** in [Flink configuration file]({{< ref "docs/deployment/config#flink-configuration-file" >}}): <pre> high-availability.type: zookeeper