You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/10/16 12:17:43 UTC

[GitHub] [flink] Shawn-Hx opened a new pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Shawn-Hx opened a new pull request #13664:
URL: https://github.com/apache/flink/pull/13664


   
   ## What is the purpose of the change
   
   Translate "Standalone Cluster" of "Clusters & Depolyment" page into Chinese.
   
   ## Brief change log
   
   - Translate `flink/docs/ops/deployment/cluster_setup.zh.md`
   - Use `{% link %}` tag in `flink/docs/ops/deployment/cluster_setup.md`
   
   ## Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / **no**)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / **no**)
     - The serializers: (yes / **no** / don't know)
     - The runtime per-record code paths (performance sensitive): (yes / **no** / don't know)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
     - The S3 file system connector: (yes / **no** / don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes / **no**)
     - If yes, how is the feature documented? (**not applicable** / docs / JavaDocs / not documented)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386",
       "triggerID" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 87c6e10a3e55796d1848b0ccfe3f5da1d48deae5 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267) 
   * 8f6c52b47ec680638ec5afb0fe4ac7894723f787 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] Shawn-Hx commented on a change in pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
Shawn-Hx commented on a change in pull request #13664:
URL: https://github.com/apache/flink/pull/13664#discussion_r512483000



##########
File path: docs/ops/deployment/cluster_setup.zh.md
##########
@@ -100,52 +105,60 @@ configuration files (which need to be accessible at the same path on all machine
 </div>
 </div>
 
-The Flink directory must be available on every worker under the same path. You can use a shared NFS directory, or copy the entire Flink directory to every worker node.
+Flink 目录必须放在所有 worker 节点的相同目录下。你可以使用共享的 NFS 目录,或将 Flink 目录复制到每个 worker 节点上。
 
-Please see the [configuration page](../config.html) for details and additional configuration options.
+请参考 [配置参数页面]({% link ops/config.zh.md %}) 获取更多细节以及额外的配置项。
 
-In particular,
+特别地,
 
- * the amount of available memory per JobManager (`jobmanager.memory.process.size`),
- * the amount of available memory per TaskManager (`taskmanager.memory.process.size` and check [memory setup guide](../memory/mem_tuning.html#configure-memory-for-standalone-deployment)),
- * the number of available CPUs per machine (`taskmanager.numberOfTaskSlots`),
- * the total number of CPUs in the cluster (`parallelism.default`) and
- * the temporary directories (`io.tmp.dirs`)
+* 每个 JobManager 的可用内存值(`jobmanager.memory.process.size`),
+* 每个 TaskManager 的可用内存值 (`taskmanager.memory.process.size`,并检查 [内存调优指南]({% link ops/memory/mem_tuning.zh.md %}#configure-memory-for-standalone-deployment)),
+* 每台机器的可用 CPU 数(`taskmanager.numberOfTaskSlots`),
+* 集群中所有 CPU 数(`parallelism.default`)和
+* 临时目录(`io.tmp.dirs`)
 
-are very important configuration values.
+的值都是非常重要的配置项。
 
 {% top %}
 
-### Starting Flink
+<a name="starting-flink"></a>
 
-The following script starts a JobManager on the local node and connects via SSH to all worker nodes listed in the *workers* file to start the TaskManager on each node. Now your Flink system is up and running. The JobManager running on the local node will now accept jobs at the configured RPC port.
+### 启动 Flink
 
-Assuming that you are on the master node and inside the Flink directory:
+下面的脚本在本地节点启动了一个 JobManager 并通过 SSH 连接到 *workers* 文件中所有的 worker 节点,在每个节点上启动 TaskManager。现在你的 Flink 系统已经启动并运行着。在本地节点上运行的 JobManager 会在配置的 RPC 端口上接收作业。

Review comment:
       嗯嗯,第二种应该更容易理解一些。我已经提交更改了。




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9be74ce0ce0d57bbda859ca9f5ec7d226df277b1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913) 
   * 87c6e10a3e55796d1848b0ccfe3f5da1d48deae5 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386",
       "triggerID" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b7c9f5e38c45c5e7b50d4113c31924853e3ff47d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9450",
       "triggerID" : "b7c9f5e38c45c5e7b50d4113c31924853e3ff47d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65b48ade89c0f8a6334ead691183b31c609f54f2",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "65b48ade89c0f8a6334ead691183b31c609f54f2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8f6c52b47ec680638ec5afb0fe4ac7894723f787 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386) 
   * b7c9f5e38c45c5e7b50d4113c31924853e3ff47d Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9450) 
   * 65b48ade89c0f8a6334ead691183b31c609f54f2 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] Shawn-Hx commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
Shawn-Hx commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-722783352


   kindly ping @wuchong 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] Shawn-Hx commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
Shawn-Hx commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-716314480


   Hi, @klion26 
   I have made some changes according to your advice.
   Also leave some comments about the last advice. Please take a look.
   Thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] klion26 commented on a change in pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on a change in pull request #13664:
URL: https://github.com/apache/flink/pull/13664#discussion_r511322491



##########
File path: docs/ops/deployment/cluster_setup.zh.md
##########
@@ -22,65 +22,70 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This page provides instructions on how to run Flink in a *fully distributed fashion* on a *static* (but possibly heterogeneous) cluster.
+本页面提供了关于如何在*静态*(但可能异构)集群上以*完全分布式方式*运行 Flink 的说明。
 
 * This will be replaced by the TOC
 {:toc}
 
-## Requirements
+<a name="requirements"></a>
 
-### Software Requirements
+## 需求
 
-Flink runs on all *UNIX-like environments*, e.g. **Linux**, **Mac OS X**, and **Cygwin** (for Windows) and expects the cluster to consist of **one master node** and **one or more worker nodes**. Before you start to setup the system, make sure you have the following software installed **on each node**:
+<a name="software-requirements"></a>
 
-- **Java 1.8.x** or higher,
-- **ssh** (sshd must be running to use the Flink scripts that manage
-  remote components)
+### 软件需求
 
-If your cluster does not fulfill these software requirements you will need to install/upgrade it.
+Flink 运行在所有*类 UNIX 环境*下,例如 **Linux**,**Mac OS X** 和 **Cygwin** (Windows),并且认为集群由**一个 master 节点**以及**一个或多个 worker 节点**构成。在配置系统之前,请确保**在每个节点上**安装有以下软件:
 
-Having __passwordless SSH__ and
-__the same directory structure__ on all your cluster nodes will allow you to use our scripts to control
-everything.
+- **Java 1.8.x** 或更高版本,
+- **ssh** (必须运行 sshd 以使用 Flink 脚本管理远程组件)

Review comment:
       这里翻译成 `必须运行 sshd 以执行用于管理管理 Flink 各组件的脚本` 会好一些吗?

##########
File path: docs/ops/deployment/cluster_setup.md
##########
@@ -80,7 +80,7 @@ configuration files (which need to be accessible at the same path on all machine
 
 <div class="row">
   <div class="col-md-6 text-center">
-    <img src="{{ site.baseurl }}/page/img/quickstart_cluster.png" style="width: 60%">
+    <img src="{% link /page/img/quickstart_cluster.png %}" style="width: 60%">

Review comment:
       我建议 cluster_setup.md 的单独放到一个 hotfix pr 或者至少放到一个单独的 commit 中,因为这个和翻译是无关的。

##########
File path: docs/ops/deployment/cluster_setup.zh.md
##########
@@ -22,65 +22,70 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This page provides instructions on how to run Flink in a *fully distributed fashion* on a *static* (but possibly heterogeneous) cluster.
+本页面提供了关于如何在*静态*(但可能异构)集群上以*完全分布式方式*运行 Flink 的说明。
 
 * This will be replaced by the TOC
 {:toc}
 
-## Requirements
+<a name="requirements"></a>
 
-### Software Requirements
+## 需求
 
-Flink runs on all *UNIX-like environments*, e.g. **Linux**, **Mac OS X**, and **Cygwin** (for Windows) and expects the cluster to consist of **one master node** and **one or more worker nodes**. Before you start to setup the system, make sure you have the following software installed **on each node**:
+<a name="software-requirements"></a>
 
-- **Java 1.8.x** or higher,
-- **ssh** (sshd must be running to use the Flink scripts that manage
-  remote components)
+### 软件需求
 
-If your cluster does not fulfill these software requirements you will need to install/upgrade it.
+Flink 运行在所有*类 UNIX 环境*下,例如 **Linux**,**Mac OS X** 和 **Cygwin** (Windows),并且认为集群由**一个 master 节点**以及**一个或多个 worker 节点**构成。在配置系统之前,请确保**在每个节点上**安装有以下软件:

Review comment:
       `并且认为` 这里能否去掉呢?直接翻译成 `集群xxxxxx` 或者能否优化一下呢?

##########
File path: docs/ops/deployment/cluster_setup.zh.md
##########
@@ -22,65 +22,70 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This page provides instructions on how to run Flink in a *fully distributed fashion* on a *static* (but possibly heterogeneous) cluster.
+本页面提供了关于如何在*静态*(但可能异构)集群上以*完全分布式方式*运行 Flink 的说明。
 
 * This will be replaced by the TOC
 {:toc}
 
-## Requirements
+<a name="requirements"></a>
 
-### Software Requirements
+## 需求
 
-Flink runs on all *UNIX-like environments*, e.g. **Linux**, **Mac OS X**, and **Cygwin** (for Windows) and expects the cluster to consist of **one master node** and **one or more worker nodes**. Before you start to setup the system, make sure you have the following software installed **on each node**:
+<a name="software-requirements"></a>
 
-- **Java 1.8.x** or higher,
-- **ssh** (sshd must be running to use the Flink scripts that manage
-  remote components)
+### 软件需求
 
-If your cluster does not fulfill these software requirements you will need to install/upgrade it.
+Flink 运行在所有*类 UNIX 环境*下,例如 **Linux**,**Mac OS X** 和 **Cygwin** (Windows),并且认为集群由**一个 master 节点**以及**一个或多个 worker 节点**构成。在配置系统之前,请确保**在每个节点上**安装有以下软件:
 
-Having __passwordless SSH__ and
-__the same directory structure__ on all your cluster nodes will allow you to use our scripts to control
-everything.
+- **Java 1.8.x** 或更高版本,
+- **ssh** (必须运行 sshd 以使用 Flink 脚本管理远程组件)
+
+如果集群不满足软件要求,那么你需要安装/更新这些软件。
+
+使集群中所有节点使用**免密码 SSH** 以及拥有**相同的目录结构**可以让你使用脚本来控制一切。
 
 {% top %}
 
-### `JAVA_HOME` Configuration
+<a name="java_home-configuration"></a>
+
+### `JAVA_HOME` 配置
 
-Flink requires the `JAVA_HOME` environment variable to be set on the master and all worker nodes and point to the directory of your Java installation.
+Flink 需要 master 和所有 worker 节点设置 `JAVA_HOME` 环境变量,并指向你的 Java 安装目录。
 
-You can set this variable in `conf/flink-conf.yaml` via the `env.java.home` key.
+你可以在 `conf/flink-conf.yaml` 文件中通过 `env.java.home` 键来设置此变量。
 
 {% top %}
 
-## Flink Setup
+<a name="flink-setup"></a>
 
-Go to the [downloads page]({{ site.download_url }}) and get the ready-to-run package. Make sure to pick the Flink package **matching your Hadoop version**. If you don't plan to use Hadoop, pick any version.
+## Flink 设置
 
-After downloading the latest release, copy the archive to your master node and extract it:
+前往 [下载页面]({{ site.zh_download_url }}) 获取可运行的软件包。请确保选择的 Flink 软件包**与你的 Hadoop 版本匹配**。如果你不准备使用 Hadoop,可以选择任意版本。
+
+在下载完最新的发布版本后,复制压缩文件到 master 节点并解压:
 
 {% highlight bash %}
 tar xzf flink-*.tgz
 cd flink-*
 {% endhighlight %}
 
-### Configuring Flink
+<a name="configuring-flink"></a>
+
+### 配置 Flink
 
-After having extracted the system files, you need to configure Flink for the cluster by editing *conf/flink-conf.yaml*.
+在解压完文件后,你需要编辑 *conf/flink-conf.yaml* 文件来为集群配置 Flink。
 
-Set the `jobmanager.rpc.address` key to point to your master node. You should also define the maximum amount of main memory Flink is allowed to allocate on each node by setting the `jobmanager.memory.process.size` and `taskmanager.memory.process.size` keys.
+设置 `jobmanager.rpc.address` 键指向 master 节点。你也应该通过设置 `jobmanager.memory.process.size` 和 `taskmanager.memory.process.size` 键来定义 Flink 允许在每个节点上分配的最大内存值。

Review comment:
       这里的 “键” 是否可以翻译成 “配置项”?

##########
File path: docs/ops/deployment/cluster_setup.zh.md
##########
@@ -22,65 +22,70 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This page provides instructions on how to run Flink in a *fully distributed fashion* on a *static* (but possibly heterogeneous) cluster.
+本页面提供了关于如何在*静态*(但可能异构)集群上以*完全分布式方式*运行 Flink 的说明。
 
 * This will be replaced by the TOC
 {:toc}
 
-## Requirements
+<a name="requirements"></a>
 
-### Software Requirements
+## 需求
 
-Flink runs on all *UNIX-like environments*, e.g. **Linux**, **Mac OS X**, and **Cygwin** (for Windows) and expects the cluster to consist of **one master node** and **one or more worker nodes**. Before you start to setup the system, make sure you have the following software installed **on each node**:
+<a name="software-requirements"></a>
 
-- **Java 1.8.x** or higher,
-- **ssh** (sshd must be running to use the Flink scripts that manage
-  remote components)
+### 软件需求
 
-If your cluster does not fulfill these software requirements you will need to install/upgrade it.
+Flink 运行在所有*类 UNIX 环境*下,例如 **Linux**,**Mac OS X** 和 **Cygwin** (Windows),并且认为集群由**一个 master 节点**以及**一个或多个 worker 节点**构成。在配置系统之前,请确保**在每个节点上**安装有以下软件:
 
-Having __passwordless SSH__ and
-__the same directory structure__ on all your cluster nodes will allow you to use our scripts to control
-everything.
+- **Java 1.8.x** 或更高版本,
+- **ssh** (必须运行 sshd 以使用 Flink 脚本管理远程组件)
+
+如果集群不满足软件要求,那么你需要安装/更新这些软件。
+
+使集群中所有节点使用**免密码 SSH** 以及拥有**相同的目录结构**可以让你使用脚本来控制一切。
 
 {% top %}
 
-### `JAVA_HOME` Configuration
+<a name="java_home-configuration"></a>
+
+### `JAVA_HOME` 配置
 
-Flink requires the `JAVA_HOME` environment variable to be set on the master and all worker nodes and point to the directory of your Java installation.
+Flink 需要 master 和所有 worker 节点设置 `JAVA_HOME` 环境变量,并指向你的 Java 安装目录。
 
-You can set this variable in `conf/flink-conf.yaml` via the `env.java.home` key.
+你可以在 `conf/flink-conf.yaml` 文件中通过 `env.java.home` 键来设置此变量。
 
 {% top %}
 
-## Flink Setup
+<a name="flink-setup"></a>
 
-Go to the [downloads page]({{ site.download_url }}) and get the ready-to-run package. Make sure to pick the Flink package **matching your Hadoop version**. If you don't plan to use Hadoop, pick any version.
+## Flink 设置
 
-After downloading the latest release, copy the archive to your master node and extract it:
+前往 [下载页面]({{ site.zh_download_url }}) 获取可运行的软件包。请确保选择的 Flink 软件包**与你的 Hadoop 版本匹配**。如果你不准备使用 Hadoop,可以选择任意版本。
+
+在下载完最新的发布版本后,复制压缩文件到 master 节点并解压:
 
 {% highlight bash %}
 tar xzf flink-*.tgz
 cd flink-*
 {% endhighlight %}
 
-### Configuring Flink
+<a name="configuring-flink"></a>
+
+### 配置 Flink
 
-After having extracted the system files, you need to configure Flink for the cluster by editing *conf/flink-conf.yaml*.
+在解压完文件后,你需要编辑 *conf/flink-conf.yaml* 文件来为集群配置 Flink。
 
-Set the `jobmanager.rpc.address` key to point to your master node. You should also define the maximum amount of main memory Flink is allowed to allocate on each node by setting the `jobmanager.memory.process.size` and `taskmanager.memory.process.size` keys.
+设置 `jobmanager.rpc.address` 键指向 master 节点。你也应该通过设置 `jobmanager.memory.process.size` 和 `taskmanager.memory.process.size` 键来定义 Flink 允许在每个节点上分配的最大内存值。
 
-These values are given in MB. If some worker nodes have more main memory which you want to allocate to the Flink system you can overwrite the default value by setting setting `taskmanager.memory.process.size` or `taskmanager.memory.flink.size` in *conf/flink-conf.yaml* on those specific nodes.
+这些值是以 MB 为单位所给出的。如果一些 worker 节点上有你想分配到 Flink 系统的多余内存,你可以在这些特定节点的 *conf/flink-conf.yaml* 文件中重写 `taskmanager.memory.process.size` 或 `taskmanager.memory.flink.size` 的默认值。

Review comment:
       `这些值是以 MB 为单位所给出的。` -> `这些值的单位是 MB。` 会好一些吗

##########
File path: docs/ops/deployment/cluster_setup.zh.md
##########
@@ -100,52 +105,60 @@ configuration files (which need to be accessible at the same path on all machine
 </div>
 </div>
 
-The Flink directory must be available on every worker under the same path. You can use a shared NFS directory, or copy the entire Flink directory to every worker node.
+Flink 目录必须放在所有 worker 节点的相同目录下。你可以使用共享的 NFS 目录,或将 Flink 目录复制到每个 worker 节点上。
 
-Please see the [configuration page](../config.html) for details and additional configuration options.
+请参考 [配置参数页面]({% link ops/config.zh.md %}) 获取更多细节以及额外的配置项。
 
-In particular,
+特别地,
 
- * the amount of available memory per JobManager (`jobmanager.memory.process.size`),
- * the amount of available memory per TaskManager (`taskmanager.memory.process.size` and check [memory setup guide](../memory/mem_tuning.html#configure-memory-for-standalone-deployment)),
- * the number of available CPUs per machine (`taskmanager.numberOfTaskSlots`),
- * the total number of CPUs in the cluster (`parallelism.default`) and
- * the temporary directories (`io.tmp.dirs`)
+* 每个 JobManager 的可用内存值(`jobmanager.memory.process.size`),
+* 每个 TaskManager 的可用内存值 (`taskmanager.memory.process.size`,并检查 [内存调优指南]({% link ops/memory/mem_tuning.zh.md %}#configure-memory-for-standalone-deployment)),
+* 每台机器的可用 CPU 数(`taskmanager.numberOfTaskSlots`),
+* 集群中所有 CPU 数(`parallelism.default`)和
+* 临时目录(`io.tmp.dirs`)
 
-are very important configuration values.
+的值都是非常重要的配置项。
 
 {% top %}
 
-### Starting Flink
+<a name="starting-flink"></a>
 
-The following script starts a JobManager on the local node and connects via SSH to all worker nodes listed in the *workers* file to start the TaskManager on each node. Now your Flink system is up and running. The JobManager running on the local node will now accept jobs at the configured RPC port.
+### 启动 Flink
 
-Assuming that you are on the master node and inside the Flink directory:
+下面的脚本在本地节点启动了一个 JobManager 并通过 SSH 连接到 *workers* 文件中所有的 worker 节点,在每个节点上启动 TaskManager。现在你的 Flink 系统已经启动并运行着。在本地节点上运行的 JobManager 会在配置的 RPC 端口上接收作业。

Review comment:
       `在本地节点上运行的 JobManager 会在配置的 RPC 端口上接收作业。`  这句话读起来怪怪的。这里是想说可以通过配置的 rpc 端口提交作业了吗?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 489b695119de6553145a9fb39efb9ce033a2f1f1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386",
       "triggerID" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b7c9f5e38c45c5e7b50d4113c31924853e3ff47d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b7c9f5e38c45c5e7b50d4113c31924853e3ff47d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8f6c52b47ec680638ec5afb0fe4ac7894723f787 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386) 
   * b7c9f5e38c45c5e7b50d4113c31924853e3ff47d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 489b695119de6553145a9fb39efb9ce033a2f1f1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755) 
   * 9be74ce0ce0d57bbda859ca9f5ec7d226df277b1 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] Shawn-Hx commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
Shawn-Hx commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-719154687


   kindly ping @klion26 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 87c6e10a3e55796d1848b0ccfe3f5da1d48deae5 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267) 
   * 8f6c52b47ec680638ec5afb0fe4ac7894723f787 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386",
       "triggerID" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b7c9f5e38c45c5e7b50d4113c31924853e3ff47d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9450",
       "triggerID" : "b7c9f5e38c45c5e7b50d4113c31924853e3ff47d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65b48ade89c0f8a6334ead691183b31c609f54f2",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9457",
       "triggerID" : "65b48ade89c0f8a6334ead691183b31c609f54f2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b7c9f5e38c45c5e7b50d4113c31924853e3ff47d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9450) 
   * 65b48ade89c0f8a6334ead691183b31c609f54f2 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9457) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] Shawn-Hx commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
Shawn-Hx commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-725266494


   @klion26 Thanks for your reminder. I have resolved the conflict. PTAL.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9be74ce0ce0d57bbda859ca9f5ec7d226df277b1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913) 
   * 87c6e10a3e55796d1848b0ccfe3f5da1d48deae5 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386",
       "triggerID" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8f6c52b47ec680638ec5afb0fe4ac7894723f787 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710011484


   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit 489b695119de6553145a9fb39efb9ce033a2f1f1 (Fri Oct 16 12:20:07 UTC 2020)
   
    ✅no warnings
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] klion26 commented on a change in pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on a change in pull request #13664:
URL: https://github.com/apache/flink/pull/13664#discussion_r512476227



##########
File path: docs/ops/deployment/cluster_setup.zh.md
##########
@@ -100,52 +105,60 @@ configuration files (which need to be accessible at the same path on all machine
 </div>
 </div>
 
-The Flink directory must be available on every worker under the same path. You can use a shared NFS directory, or copy the entire Flink directory to every worker node.
+Flink 目录必须放在所有 worker 节点的相同目录下。你可以使用共享的 NFS 目录,或将 Flink 目录复制到每个 worker 节点上。
 
-Please see the [configuration page](../config.html) for details and additional configuration options.
+请参考 [配置参数页面]({% link ops/config.zh.md %}) 获取更多细节以及额外的配置项。
 
-In particular,
+特别地,
 
- * the amount of available memory per JobManager (`jobmanager.memory.process.size`),
- * the amount of available memory per TaskManager (`taskmanager.memory.process.size` and check [memory setup guide](../memory/mem_tuning.html#configure-memory-for-standalone-deployment)),
- * the number of available CPUs per machine (`taskmanager.numberOfTaskSlots`),
- * the total number of CPUs in the cluster (`parallelism.default`) and
- * the temporary directories (`io.tmp.dirs`)
+* 每个 JobManager 的可用内存值(`jobmanager.memory.process.size`),
+* 每个 TaskManager 的可用内存值 (`taskmanager.memory.process.size`,并检查 [内存调优指南]({% link ops/memory/mem_tuning.zh.md %}#configure-memory-for-standalone-deployment)),
+* 每台机器的可用 CPU 数(`taskmanager.numberOfTaskSlots`),
+* 集群中所有 CPU 数(`parallelism.default`)和
+* 临时目录(`io.tmp.dirs`)
 
-are very important configuration values.
+的值都是非常重要的配置项。
 
 {% top %}
 
-### Starting Flink
+<a name="starting-flink"></a>
 
-The following script starts a JobManager on the local node and connects via SSH to all worker nodes listed in the *workers* file to start the TaskManager on each node. Now your Flink system is up and running. The JobManager running on the local node will now accept jobs at the configured RPC port.
+### 启动 Flink
 
-Assuming that you are on the master node and inside the Flink directory:
+下面的脚本在本地节点启动了一个 JobManager 并通过 SSH 连接到 *workers* 文件中所有的 worker 节点,在每个节点上启动 TaskManager。现在你的 Flink 系统已经启动并运行着。在本地节点上运行的 JobManager 会在配置的 RPC 端口上接收作业。

Review comment:
       嗯嗯,个人更倾向于第二个翻译




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 87c6e10a3e55796d1848b0ccfe3f5da1d48deae5 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] klion26 commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-723712163


   Will merge this if no objection occurred in the next few days.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] klion26 commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-725259657


   @Shawn-Hx when I was to merge this pr, found that there is some conflict, could you please resolve the conflict, so that I can merge this. thanks and sorry for the inconvenience


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 489b695119de6553145a9fb39efb9ce033a2f1f1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755) 
   * 9be74ce0ce0d57bbda859ca9f5ec7d226df277b1 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 489b695119de6553145a9fb39efb9ce033a2f1f1 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8267",
       "triggerID" : "87c6e10a3e55796d1848b0ccfe3f5da1d48deae5",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=8386",
       "triggerID" : "8f6c52b47ec680638ec5afb0fe4ac7894723f787",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b7c9f5e38c45c5e7b50d4113c31924853e3ff47d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9450",
       "triggerID" : "b7c9f5e38c45c5e7b50d4113c31924853e3ff47d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65b48ade89c0f8a6334ead691183b31c609f54f2",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9457",
       "triggerID" : "65b48ade89c0f8a6334ead691183b31c609f54f2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 65b48ade89c0f8a6334ead691183b31c609f54f2 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=9457) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] klion26 closed pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
klion26 closed pull request #13664:
URL: https://github.com/apache/flink/pull/13664


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] Shawn-Hx commented on a change in pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
Shawn-Hx commented on a change in pull request #13664:
URL: https://github.com/apache/flink/pull/13664#discussion_r511723364



##########
File path: docs/ops/deployment/cluster_setup.zh.md
##########
@@ -100,52 +105,60 @@ configuration files (which need to be accessible at the same path on all machine
 </div>
 </div>
 
-The Flink directory must be available on every worker under the same path. You can use a shared NFS directory, or copy the entire Flink directory to every worker node.
+Flink 目录必须放在所有 worker 节点的相同目录下。你可以使用共享的 NFS 目录,或将 Flink 目录复制到每个 worker 节点上。
 
-Please see the [configuration page](../config.html) for details and additional configuration options.
+请参考 [配置参数页面]({% link ops/config.zh.md %}) 获取更多细节以及额外的配置项。
 
-In particular,
+特别地,
 
- * the amount of available memory per JobManager (`jobmanager.memory.process.size`),
- * the amount of available memory per TaskManager (`taskmanager.memory.process.size` and check [memory setup guide](../memory/mem_tuning.html#configure-memory-for-standalone-deployment)),
- * the number of available CPUs per machine (`taskmanager.numberOfTaskSlots`),
- * the total number of CPUs in the cluster (`parallelism.default`) and
- * the temporary directories (`io.tmp.dirs`)
+* 每个 JobManager 的可用内存值(`jobmanager.memory.process.size`),
+* 每个 TaskManager 的可用内存值 (`taskmanager.memory.process.size`,并检查 [内存调优指南]({% link ops/memory/mem_tuning.zh.md %}#configure-memory-for-standalone-deployment)),
+* 每台机器的可用 CPU 数(`taskmanager.numberOfTaskSlots`),
+* 集群中所有 CPU 数(`parallelism.default`)和
+* 临时目录(`io.tmp.dirs`)
 
-are very important configuration values.
+的值都是非常重要的配置项。
 
 {% top %}
 
-### Starting Flink
+<a name="starting-flink"></a>
 
-The following script starts a JobManager on the local node and connects via SSH to all worker nodes listed in the *workers* file to start the TaskManager on each node. Now your Flink system is up and running. The JobManager running on the local node will now accept jobs at the configured RPC port.
+### 启动 Flink
 
-Assuming that you are on the master node and inside the Flink directory:
+下面的脚本在本地节点启动了一个 JobManager 并通过 SSH 连接到 *workers* 文件中所有的 worker 节点,在每个节点上启动 TaskManager。现在你的 Flink 系统已经启动并运行着。在本地节点上运行的 JobManager 会在配置的 RPC 端口上接收作业。

Review comment:
       这里的原文为 “The JobManager running on the local node will now accept jobs at the configured RPC port.”
   是否可以翻译成:“在本地节点上运行的 JobManager 会通过配置的 RPC 端口接收提交的作业。”
   或者意译为:“可以通过配置的 RPC 端口向本地节点上的 JobManager 提交作业。”
   这两种哪个更好一点?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 489b695119de6553145a9fb39efb9ce033a2f1f1 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] Shawn-Hx commented on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
Shawn-Hx commented on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-713376400


   Hi, @klion26 
   This PR is ready to be reviewed. Could you help to review it at your convenience?
   Thanks~


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #13664: [FLINK-19673] Translate "Standalone Cluster" page into Chinese

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13664:
URL: https://github.com/apache/flink/pull/13664#issuecomment-710017891


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7755",
       "triggerID" : "489b695119de6553145a9fb39efb9ce033a2f1f1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913",
       "triggerID" : "9be74ce0ce0d57bbda859ca9f5ec7d226df277b1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9be74ce0ce0d57bbda859ca9f5ec7d226df277b1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=7913) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org