This is an automated email from the ASF dual-hosted git repository.

guoweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new be6b313c470  [hotfix][docs] Add missing "Submitting a Flink job" 
section in Chinese version doc
be6b313c470 is described below

commit be6b313c4704ed70ee6c585e1ddb34ff8777cb17
Author: Luke Chen <[email protected]>
AuthorDate: Tue Aug 13 18:24:46 2024 +0900

     [hotfix][docs] Add missing "Submitting a Flink job" section in Chinese 
version doc
---
 docs/content.zh/docs/flinkDev/building.md          |  2 +-
 .../docs/try-flink/local_installation.md           | 32 +++++++++++++++++++++-
 docs/content/docs/flinkDev/building.md             |  2 +-
 docs/content/docs/try-flink/local_installation.md  |  2 +-
 4 files changed, 34 insertions(+), 4 deletions(-)

diff --git a/docs/content.zh/docs/flinkDev/building.md 
b/docs/content.zh/docs/flinkDev/building.md
index 51e27314c66..8e8c2583bb5 100644
--- a/docs/content.zh/docs/flinkDev/building.md
+++ b/docs/content.zh/docs/flinkDev/building.md
@@ -35,7 +35,7 @@ under the License.
 
 首先需要准备源码。可以[从发布版本下载源码]({{< downloads >}}) 或者[从 Git 库克隆 Flink 源码]({{< 
github_repo >}})。
 
-还需要准备 **Maven 3** 和 **JDK** (Java开发套件)。Flink 依赖 **Java 8 (deprecated) 或 Java 
11** 来进行构建。
+还需要准备 **Maven 3.8.6** 和 **JDK** (Java开发套件)。Flink 依赖 **Java 8 (deprecated) 或 
Java 11** 来进行构建。
 
 输入以下命令从 Git 克隆代码
 
diff --git a/docs/content.zh/docs/try-flink/local_installation.md 
b/docs/content.zh/docs/try-flink/local_installation.md
index 2c900d1859a..3a58a73a8a4 100644
--- a/docs/content.zh/docs/try-flink/local_installation.md
+++ b/docs/content.zh/docs/try-flink/local_installation.md
@@ -72,11 +72,27 @@ Starting taskexecutor daemon on host.
 
 ## 步骤 3:提交作业(Job)
 
-Flink 的 Releases 附带了许多的示例作业。你可以任意选择一个,快速部署到已运行的集群上。
+Flink 提供了一个 CLI 工具 bin/flink,它可以运行打包为 Java ARchives (JAR) 的程序,并控制其执行。
+提交作业({{< ref "docs/concepts/glossary" >}}#flink-job) 意味着将作业的 JAR 
文件和相关依赖项上载到运行中的 Flink 集群并执行它。
+并执行它。
+
+Flink 的 Releases 附带了许多的示例作业。您可以在 examples/ 文件夹中找到。
+
+要将字数统计作业示例部署到运行中的群集,请执行以下命令:
 
 ```bash
 $ ./bin/flink run examples/streaming/WordCount.jar
+```
+
+您可以通过查看日志来验证输出结果:
+
+```bash
 $ tail log/flink-*-taskexecutor-*.out
+```
+
+输出示例:
+
+```bash
   (nymph,1)
   (in,3)
   (thy,1)
@@ -91,6 +107,20 @@ $ tail log/flink-*-taskexecutor-*.out
 
 另外,你可以通过 Flink 的 [Web UI](http://localhost:8081) 来监视集群的状态和正在运行的作业。
 
+您可以查看执行的数据流计划(data flow plan):
+
+{{< img src="/fig/try-flink/dataflowplan.png" alt="data flow plan" >}}
+
+在这里,Flink 有两个操作符(operator)来执行作业。第一个操作符是源操作符,它从收集源中读取数据。
+第二个运算符是转换运算符,用于汇总单词计数。了解更多信息,请参阅[数据流操作符]({{< ref 
"docs/dev/datastream/operators/overview" >}}) 。
+
+您还可以查看任务执行的时间轴:
+
+{{< img src="/fig/try-flink/timeline.png" alt="data flow timeline" >}}
+
+您已成功运行了 [Flink 应用程序]({{< ref "docs/concepts/glossary" >}}#flink-application) !
+请从 __examples/__ 文件夹中选择任何其他 JAR 归档文件或部署您自己的作业!
+
 <a name="step-4-stop-the-cluster"></a>
 
 ## 步骤 4:停止集群
diff --git a/docs/content/docs/flinkDev/building.md 
b/docs/content/docs/flinkDev/building.md
index 3891034266e..40d444fb539 100644
--- a/docs/content/docs/flinkDev/building.md
+++ b/docs/content/docs/flinkDev/building.md
@@ -33,7 +33,7 @@ This page covers how to build Flink {{< version >}} from 
sources.
 
 In order to build Flink you need the source code. Either [download the source 
of a release]({{< downloads >}}) or [clone the git repository]({{< github_repo 
>}}).
 
-In addition you need **Maven 3** and a **JDK** (Java Development Kit). Flink 
requires **Java 8 (deprecated) or Java 11** to build.
+In addition you need **Maven 3.8.6** and a **JDK** (Java Development Kit). 
Flink requires **Java 8 (deprecated) or Java 11** to build.
 
 To clone from git, enter:
 
diff --git a/docs/content/docs/try-flink/local_installation.md 
b/docs/content/docs/try-flink/local_installation.md
index 588d6d8e086..b9cc6dd164b 100644
--- a/docs/content/docs/try-flink/local_installation.md
+++ b/docs/content/docs/try-flink/local_installation.md
@@ -141,7 +141,7 @@ You can view the data flow plan for the execution:
 
 Here for the job execution, Flink has two operators. The first is the source 
operator which reads data from the
 collection source. The second operator is the transformation operator which 
aggregates counts of words. Learn
-more about [DataStream operators]({{< ref "docs/dev/datastream/operators" >}}).
+more about [DataStream operators]({{< ref 
"docs/dev/datastream/operators/overview" >}}).
 
 You can also look at the timeline of the job execution:
 

Reply via email to