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/07/10 06:41:42 UTC

[GitHub] [flink] KarmaGYZ opened a new pull request #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

KarmaGYZ opened a new pull request #12865:
URL: https://github.com/apache/flink/pull/12865


   
   ## What is the purpose of the change
   
   Translate External Resources page to Chinese
   
   ## Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ## Documentation
   
     - Does this pull request introduce a new feature? no
   
   


----------------------------------------------------------------
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] xintongsong closed pull request #12865: [FLINK-18264][doc-zh] Translate External Resources page to Chinese

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


   


----------------------------------------------------------------
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 #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388",
       "triggerID" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "triggerType" : "PUSH"
     }, {
       "hash" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4640",
       "triggerID" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4640) 
   
   <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 #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388",
       "triggerID" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "triggerType" : "PUSH"
     }, {
       "hash" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1d004f6c97f03f46c8f29fbc348dac9036bdf493 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388) 
   * 58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35 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] xintongsong commented on a change in pull request #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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



##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一
+个扩展资源框架。该框架支持从底层资源管理系统(如 Kubernetes)请求各种类型的资源,并向 Operator 提供使用这些资源所需的信息。该框架
+以插件形式支持不同的资源类型。目前 Flink 仅内置了支持 GPU 资源的插件,你可以为你想使用的资源类型实现第三方插件。
 
 * This will be replaced by the TOC
 {:toc}
 
-# What the external resource framework does
+<a name="what-the-external-resource-framework-does"></a>
 
-In general, the external resource framework does two things:
+# 扩展资源框架做了什么
 
-  - Set the corresponding fields of the resource requests (for requesting resources from the underlying system) with respect to your configuration.
+External resource 框架主要做了以下两件事:
 
-  - Provide operators with the *information* needed for using the resources.
+  - 根据你的配置,在 Flink 从底层资源管理系统中申请资源时,设置与扩展资源相关的字段
 
-When deployed on resource management systems (Kubernetes / Yarn), the external resource framework will ensure that the allocated pod/container
-will contain the desired external resources. Currently, many resource management systems support external resources. For example,
-Kubernetes supports GPU, FPGA, etc. through its [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/)
-mechanism since v1.10, and Yarn supports GPU and FPGA resources since 2.10 and 3.1. External resources are not supported by Flink’s Mesos
-integration at the moment. In Standalone mode, the user has to ensure that the external resources are available.
+  - 为 Operator 提供使用这些资源所需要的*信息*
 
-The external resource framework will provide the corresponding *information* to operators. The external resource information,
-which contains the basic properties needed for using the resources, is generated by the configured external resource *drivers*.
+当 Flink 部署在资源管理系统(Kubernetes、Yarn)上时,扩展资源框架将确保分配的 Pod、Container 包含所需的扩展资源。目前,许多资源
+管理系统都支持扩展资源。例如,Kubernetes 从 v1.10 开始通过 [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/) 机制
+支持 GPU、FPGA 等资源调度,Yarn 从 2.10 和 3.1 开始支持 GPU 和 FPGA 的调度。目前,扩展资源框架并不支持 Mesos 模式。在 Standalone 模式下,由用户负责确保扩展资源的可用性。
 
-# Enable the external resource framework for your workload
+扩展资源框架向 Operator 提供扩展资源相关*信息*,这些信息由你配置的扩展资源 *Driver* 生成,包含了使用扩展资源所需要的基本属性。
 
-To enable an external resource with the external resource framework, you need to:
+<a name="enable-the-external-resource-framework-for-your-workload"></a>
 
-  - Prepare the external resource *plugin*.
+# 启用扩展资源框架
 
-  - Set configurations for the external resource.
+为了启用扩展资源框架来使用扩展资源,你需要:
 
-  - Get the external resource *information* from `RuntimeContext` and use it in your operators.
+  - 为该扩展资源准备扩展资源框架的*插件*
 
-## Prepare plugins
+  - 为该扩展资源设置相关的配置
 
-You need to prepare the external resource plugin and put it into the `plugins/` folder of your Flink distribution, see
-[Flink Plugins]({% link ops/plugins.zh.md %}). Apache Flink provides a first-party [plugin for GPU resources](#plugin-for-gpu-resources). You can also
-[implement a plugin for your custom resource type](#implement-a-plugin-for-your-custom-resource-type).
+  - 在你的 Operator 中,从 `RuntimeContext` 来获取扩展资源的*信息*并使用这些资源
 
-## Configurations
+<a name="prepare-plugins"></a>
 
-First, you need to add resource names for all the external resource types to the **external resource list (with the configuration key ‘external-resources’)**
-with delimiter ";", e.g. "external-resources: gpu;fpga" for two external resources "gpu" and "fpga". Only the **\<resource_name\>**
-defined here will go into effect in the external resource framework.
+## 准备插件
 
-For each external resource, you could configure the below options. The **\<resource_name\>** in all the below configuration options
-corresponds to the name listed in the **external resource list**:
+你需要为使用的扩展资源准备插件,并将其放入 Flink 发行版的 `plugins/` 文件夹中, 参看 [Flink Plugins]({% link ops/plugins.zh.md %})。
+Flink 提供了第一方的 [GPU 资源插件](#plugin-for-gpu-resources)。你同样可以为你所使用的扩展资源实现自定义插件[实现自定义插件](#implement-a-plugin-for-your-custom-resource-type)。
 
-  - **Amount** (`external.<resource_name>.amount`): This is the quantity of the external resource that should be requested from the external system.
+## 配置项
 
-  - **Config key in Yarn** (`external-resource.<resource_name>.yarn.config-key`): *optional*. If configured, the external
-  resource framework will add this key to the resource profile of container requests for Yarn. The value will be set to the
-  value of `external-resource.<resource_name>.amount`.
+首先,你需要使用分隔符“;”将所有使用的扩展资源类型的资源名称添加到 **扩展资源列表(配置键“external-resources”)** 中,例如,“external-resources: gpu;fpga”定义了两个扩展资源“gpu”和“fpga”。
+只有此处定义了扩展资源名称(**\<resource_name\>**),相应的资源才会在扩展资源框架中生效。
 
-  - **Config key in Kubernetes** (`external-resource.<resource_name>.kubernetes.config-key`): *optional*. If configured,
-  external resource framework will add `resources.limits.<config-key>` and `resources.requests.<config-key>` to the main
-  container spec of TaskManager and set the value to the value of `external-resource.<resource_name>.amount`.
+对于每个扩展资源,有以下配置选项。下面的所有配置选项中的 **\<resource_name\>** 对应于 **扩展资源列表** 中列出的名称:
 
-  - **Driver Factory** (`external-resource.<resource_name>.driver-factory.class`): *optional*. Defines the factory class

Review comment:
       Ok, that makes sense. I would suggest to explain this for both languages.




----------------------------------------------------------------
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 #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388",
       "triggerID" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "triggerType" : "PUSH"
     }, {
       "hash" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4640",
       "triggerID" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1d004f6c97f03f46c8f29fbc348dac9036bdf493 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388) 
   * 58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4640) 
   
   <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] KarmaGYZ commented on a change in pull request #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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



##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一
+个扩展资源框架。该框架支持从底层资源管理系统(如 Kubernetes)请求各种类型的资源,并向 Operator 提供使用这些资源所需的信息。该框架
+以插件形式支持不同的资源类型。目前 Flink 仅内置了支持 GPU 资源的插件,你可以为你想使用的资源类型实现第三方插件。
 
 * This will be replaced by the TOC
 {:toc}
 
-# What the external resource framework does
+<a name="what-the-external-resource-framework-does"></a>
 
-In general, the external resource framework does two things:
+# 扩展资源框架做了什么
 
-  - Set the corresponding fields of the resource requests (for requesting resources from the underlying system) with respect to your configuration.
+External resource 框架主要做了以下两件事:
 
-  - Provide operators with the *information* needed for using the resources.
+  - 根据你的配置,在 Flink 从底层资源管理系统中申请资源时,设置与扩展资源相关的字段
 
-When deployed on resource management systems (Kubernetes / Yarn), the external resource framework will ensure that the allocated pod/container
-will contain the desired external resources. Currently, many resource management systems support external resources. For example,
-Kubernetes supports GPU, FPGA, etc. through its [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/)
-mechanism since v1.10, and Yarn supports GPU and FPGA resources since 2.10 and 3.1. External resources are not supported by Flink’s Mesos
-integration at the moment. In Standalone mode, the user has to ensure that the external resources are available.
+  - 为 Operator 提供使用这些资源所需要的*信息*
 
-The external resource framework will provide the corresponding *information* to operators. The external resource information,
-which contains the basic properties needed for using the resources, is generated by the configured external resource *drivers*.
+当 Flink 部署在资源管理系统(Kubernetes、Yarn)上时,扩展资源框架将确保分配的 Pod、Container 包含所需的扩展资源。目前,许多资源
+管理系统都支持扩展资源。例如,Kubernetes 从 v1.10 开始通过 [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/) 机制
+支持 GPU、FPGA 等资源调度,Yarn 从 2.10 和 3.1 开始支持 GPU 和 FPGA 的调度。目前,扩展资源框架并不支持 Mesos 模式。在 Standalone 模式下,由用户负责确保扩展资源的可用性。
 
-# Enable the external resource framework for your workload
+扩展资源框架向 Operator 提供扩展资源相关*信息*,这些信息由你配置的扩展资源 *Driver* 生成,包含了使用扩展资源所需要的基本属性。
 
-To enable an external resource with the external resource framework, you need to:
+<a name="enable-the-external-resource-framework-for-your-workload"></a>
 
-  - Prepare the external resource *plugin*.
+# 启用扩展资源框架
 
-  - Set configurations for the external resource.
+为了启用扩展资源框架来使用扩展资源,你需要:
 
-  - Get the external resource *information* from `RuntimeContext` and use it in your operators.
+  - 为该扩展资源准备扩展资源框架的*插件*
 
-## Prepare plugins
+  - 为该扩展资源设置相关的配置
 
-You need to prepare the external resource plugin and put it into the `plugins/` folder of your Flink distribution, see
-[Flink Plugins]({% link ops/plugins.zh.md %}). Apache Flink provides a first-party [plugin for GPU resources](#plugin-for-gpu-resources). You can also
-[implement a plugin for your custom resource type](#implement-a-plugin-for-your-custom-resource-type).
+  - 在你的 Operator 中,从 `RuntimeContext` 来获取扩展资源的*信息*并使用这些资源
 
-## Configurations
+<a name="prepare-plugins"></a>
 
-First, you need to add resource names for all the external resource types to the **external resource list (with the configuration key ‘external-resources’)**
-with delimiter ";", e.g. "external-resources: gpu;fpga" for two external resources "gpu" and "fpga". Only the **\<resource_name\>**
-defined here will go into effect in the external resource framework.
+## 准备插件
 
-For each external resource, you could configure the below options. The **\<resource_name\>** in all the below configuration options
-corresponds to the name listed in the **external resource list**:
+你需要为使用的扩展资源准备插件,并将其放入 Flink 发行版的 `plugins/` 文件夹中, 参看 [Flink Plugins]({% link ops/plugins.zh.md %})。
+Flink 提供了第一方的 [GPU 资源插件](#plugin-for-gpu-resources)。你同样可以为你所使用的扩展资源实现自定义插件[实现自定义插件](#implement-a-plugin-for-your-custom-resource-type)。
 
-  - **Amount** (`external.<resource_name>.amount`): This is the quantity of the external resource that should be requested from the external system.
+## 配置项
 
-  - **Config key in Yarn** (`external-resource.<resource_name>.yarn.config-key`): *optional*. If configured, the external
-  resource framework will add this key to the resource profile of container requests for Yarn. The value will be set to the
-  value of `external-resource.<resource_name>.amount`.
+首先,你需要使用分隔符“;”将所有使用的扩展资源类型的资源名称添加到 **扩展资源列表(配置键“external-resources”)** 中,例如,“external-resources: gpu;fpga”定义了两个扩展资源“gpu”和“fpga”。
+只有此处定义了扩展资源名称(**\<resource_name\>**),相应的资源才会在扩展资源框架中生效。
 
-  - **Config key in Kubernetes** (`external-resource.<resource_name>.kubernetes.config-key`): *optional*. If configured,
-  external resource framework will add `resources.limits.<config-key>` and `resources.requests.<config-key>` to the main
-  container spec of TaskManager and set the value to the value of `external-resource.<resource_name>.amount`.
+对于每个扩展资源,有以下配置选项。下面的所有配置选项中的 **\<resource_name\>** 对应于 **扩展资源列表** 中列出的名称:
 
-  - **Driver Factory** (`external-resource.<resource_name>.driver-factory.class`): *optional*. Defines the factory class

Review comment:
       The operator could not get any information of the external resource from `RuntimeContext`. But the requested external resource will still exist in the `TaskManager` container.

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -234,127 +230,122 @@ class FPGAInfo extends ExternalResourceInfo {
 </div>
 </div>
 
-Create a file with name `org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory` in `META-INF/services/`
-and write the factory class name (e.g. `your.domain.FPGADriverFactory`) to it.
+在 `META-INF/services/` 中创建名为 `org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory` 的文件,向其中
+写入工厂类名,如 `your.domain.FPGADriverFactory`。
 
-Then, create a jar which includes `FPGADriver`, `FPGADriverFactory`, `META-INF/services/` and all the external dependencies.
-Make a directory in `plugins/` of your Flink distribution with an arbitrary name, e.g. "fpga", and put the jar into this directory.

Review comment:
       No, the name of the directory has no influence on the Plugin Mechanism.




----------------------------------------------------------------
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 #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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


   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 1d004f6c97f03f46c8f29fbc348dac9036bdf493 (Fri Jul 10 06:43:06 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] xintongsong commented on a change in pull request #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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



##########
File path: docs/ops/external_resources.zh.md
##########
@@ -234,127 +230,122 @@ class FPGAInfo extends ExternalResourceInfo {
 </div>
 </div>
 
-Create a file with name `org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory` in `META-INF/services/`
-and write the factory class name (e.g. `your.domain.FPGADriverFactory`) to it.
+在 `META-INF/services/` 中创建名为 `org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory` 的文件,向其中
+写入工厂类名,如 `your.domain.FPGADriverFactory`。
 
-Then, create a jar which includes `FPGADriver`, `FPGADriverFactory`, `META-INF/services/` and all the external dependencies.
-Make a directory in `plugins/` of your Flink distribution with an arbitrary name, e.g. "fpga", and put the jar into this directory.
-See [Flink Plugin]({% link ops/plugins.zh.md %}) for more details.
+之后,将 `FPGADriver`,`FPGADriverFactory`,`META-INF/services/` 和所有外部依赖打入 jar 包。在你的 Flink 发行版的 `plugins/` 文件夹中创建一个名为“fpga”的文件夹,将打好的 jar 包放入其中。
+更多细节请查看 [Flink Plugin]({% link ops/plugins.zh.md %})。
 
 <div class="alert alert-info">
-     <strong>Note:</strong> External resources are shared by all operators running on the same machine. The community might add external resource isolation in a future release.
+     <strong>提示:</strong> 扩展资源由运行在同一台机器上的所有 operator 共享。社区可能会在未来的版本中支持外部资源隔离。
 </div>
 
-# Existing supported external resource plugins
+# 已支持的扩展资源插件
+
+目前,Flink提供 GPU 资源插件。
 
-Currently, Flink supports GPUs as external resources.
+<a name="plugin-for-gpu-resources"></a>
 
-## Plugin for GPU resources
+## GPU 插件
 
-We provide a first-party plugin for GPU resources. The plugin leverages a discovery script to discover indexes of GPU devices, which can
-be accessed from the resource *information* via the property "index". We provide a default discovery script that can be used to discover
-NVIDIA GPUs. You can also provide your custom script.
+我们为 GPU 提供了第一方插件。该插件利用一个脚本来发现 GPU 设备的索引,该索引可通过“index”从 `ExternalResourceInfo` 中获取。我们提供了一个
+默认脚本,可以用来发现 NVIDIA GPU。您还可以提供自定义脚本。
 
-We provide [an example](https://github.com/apache/flink/blob/master/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/gpu/MatrixVectorMul.java)
-which shows how to use the GPUs to do matrix-vector multiplication in Flink.
+我们提供了[一个实例程序](https://github.com/apache/flink/blob/master/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/gpu/MatrixVectorMul.java),

Review comment:
       实例 -> 示例

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -1,5 +1,5 @@
 ---
-title:  "外部资源调度框架"
+title:  "扩展资源调度框架"
 nav-parent_id: ops
 nav-pos: 10
 nav-title: External Resources

Review comment:
       nav-title 没有翻译

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一
+个扩展资源框架。该框架支持从底层资源管理系统(如 Kubernetes)请求各种类型的资源,并向 Operator 提供使用这些资源所需的信息。该框架
+以插件形式支持不同的资源类型。目前 Flink 仅内置了支持 GPU 资源的插件,你可以为你想使用的资源类型实现第三方插件。
 
 * This will be replaced by the TOC
 {:toc}
 
-# What the external resource framework does
+<a name="what-the-external-resource-framework-does"></a>
 
-In general, the external resource framework does two things:
+# 扩展资源框架做了什么
 
-  - Set the corresponding fields of the resource requests (for requesting resources from the underlying system) with respect to your configuration.
+External resource 框架主要做了以下两件事:
 
-  - Provide operators with the *information* needed for using the resources.
+  - 根据你的配置,在 Flink 从底层资源管理系统中申请资源时,设置与扩展资源相关的字段

Review comment:
       字段 -> 请求字段

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一

Review comment:
       建议在自然句结束后换行。
   可能是 jekyll 对汉字支持不好,现在编译出来会在句子中间有一个空格,很不自然。
   ”提供了一 个扩展资源框架“
   ”该框架 以插件形式“
   相当问题文档中多次出现,不再一一列举

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一
+个扩展资源框架。该框架支持从底层资源管理系统(如 Kubernetes)请求各种类型的资源,并向 Operator 提供使用这些资源所需的信息。该框架

Review comment:
       根据 [Flink Translation Specifications](https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications),operator 应翻译成算子。
   相当问题文档中多次出现,不再一一列举

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一
+个扩展资源框架。该框架支持从底层资源管理系统(如 Kubernetes)请求各种类型的资源,并向 Operator 提供使用这些资源所需的信息。该框架
+以插件形式支持不同的资源类型。目前 Flink 仅内置了支持 GPU 资源的插件,你可以为你想使用的资源类型实现第三方插件。
 
 * This will be replaced by the TOC
 {:toc}
 
-# What the external resource framework does
+<a name="what-the-external-resource-framework-does"></a>
 
-In general, the external resource framework does two things:
+# 扩展资源框架做了什么
 
-  - Set the corresponding fields of the resource requests (for requesting resources from the underlying system) with respect to your configuration.
+External resource 框架主要做了以下两件事:

Review comment:
       External Resource 不要有的地方用中文有的地方用英文。
   建议第一次出现的时候,用括号标注英文,其他情况下都用中文。

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一

Review comment:
       深入 -> 深度

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -234,127 +230,122 @@ class FPGAInfo extends ExternalResourceInfo {
 </div>
 </div>
 
-Create a file with name `org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory` in `META-INF/services/`
-and write the factory class name (e.g. `your.domain.FPGADriverFactory`) to it.
+在 `META-INF/services/` 中创建名为 `org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory` 的文件,向其中
+写入工厂类名,如 `your.domain.FPGADriverFactory`。
 
-Then, create a jar which includes `FPGADriver`, `FPGADriverFactory`, `META-INF/services/` and all the external dependencies.
-Make a directory in `plugins/` of your Flink distribution with an arbitrary name, e.g. "fpga", and put the jar into this directory.

Review comment:
       Does the created directory need to have the same name as resource name configured in `external-resources`?

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一
+个扩展资源框架。该框架支持从底层资源管理系统(如 Kubernetes)请求各种类型的资源,并向 Operator 提供使用这些资源所需的信息。该框架
+以插件形式支持不同的资源类型。目前 Flink 仅内置了支持 GPU 资源的插件,你可以为你想使用的资源类型实现第三方插件。
 
 * This will be replaced by the TOC
 {:toc}
 
-# What the external resource framework does
+<a name="what-the-external-resource-framework-does"></a>
 
-In general, the external resource framework does two things:
+# 扩展资源框架做了什么
 
-  - Set the corresponding fields of the resource requests (for requesting resources from the underlying system) with respect to your configuration.
+External resource 框架主要做了以下两件事:
 
-  - Provide operators with the *information* needed for using the resources.
+  - 根据你的配置,在 Flink 从底层资源管理系统中申请资源时,设置与扩展资源相关的字段
 
-When deployed on resource management systems (Kubernetes / Yarn), the external resource framework will ensure that the allocated pod/container
-will contain the desired external resources. Currently, many resource management systems support external resources. For example,
-Kubernetes supports GPU, FPGA, etc. through its [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/)
-mechanism since v1.10, and Yarn supports GPU and FPGA resources since 2.10 and 3.1. External resources are not supported by Flink’s Mesos
-integration at the moment. In Standalone mode, the user has to ensure that the external resources are available.
+  - 为 Operator 提供使用这些资源所需要的*信息*
 
-The external resource framework will provide the corresponding *information* to operators. The external resource information,
-which contains the basic properties needed for using the resources, is generated by the configured external resource *drivers*.
+当 Flink 部署在资源管理系统(Kubernetes、Yarn)上时,扩展资源框架将确保分配的 Pod、Container 包含所需的扩展资源。目前,许多资源
+管理系统都支持扩展资源。例如,Kubernetes 从 v1.10 开始通过 [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/) 机制
+支持 GPU、FPGA 等资源调度,Yarn 从 2.10 和 3.1 开始支持 GPU 和 FPGA 的调度。目前,扩展资源框架并不支持 Mesos 模式。在 Standalone 模式下,由用户负责确保扩展资源的可用性。
 
-# Enable the external resource framework for your workload
+扩展资源框架向 Operator 提供扩展资源相关*信息*,这些信息由你配置的扩展资源 *Driver* 生成,包含了使用扩展资源所需要的基本属性。
 
-To enable an external resource with the external resource framework, you need to:
+<a name="enable-the-external-resource-framework-for-your-workload"></a>
 
-  - Prepare the external resource *plugin*.
+# 启用扩展资源框架
 
-  - Set configurations for the external resource.
+为了启用扩展资源框架来使用扩展资源,你需要:
 
-  - Get the external resource *information* from `RuntimeContext` and use it in your operators.
+  - 为该扩展资源准备扩展资源框架的*插件*
 
-## Prepare plugins
+  - 为该扩展资源设置相关的配置
 
-You need to prepare the external resource plugin and put it into the `plugins/` folder of your Flink distribution, see
-[Flink Plugins]({% link ops/plugins.zh.md %}). Apache Flink provides a first-party [plugin for GPU resources](#plugin-for-gpu-resources). You can also
-[implement a plugin for your custom resource type](#implement-a-plugin-for-your-custom-resource-type).
+  - 在你的 Operator 中,从 `RuntimeContext` 来获取扩展资源的*信息*并使用这些资源
 
-## Configurations
+<a name="prepare-plugins"></a>
 
-First, you need to add resource names for all the external resource types to the **external resource list (with the configuration key ‘external-resources’)**
-with delimiter ";", e.g. "external-resources: gpu;fpga" for two external resources "gpu" and "fpga". Only the **\<resource_name\>**
-defined here will go into effect in the external resource framework.
+## 准备插件
 
-For each external resource, you could configure the below options. The **\<resource_name\>** in all the below configuration options
-corresponds to the name listed in the **external resource list**:
+你需要为使用的扩展资源准备插件,并将其放入 Flink 发行版的 `plugins/` 文件夹中, 参看 [Flink Plugins]({% link ops/plugins.zh.md %})。
+Flink 提供了第一方的 [GPU 资源插件](#plugin-for-gpu-resources)。你同样可以为你所使用的扩展资源实现自定义插件[实现自定义插件](#implement-a-plugin-for-your-custom-resource-type)。
 
-  - **Amount** (`external.<resource_name>.amount`): This is the quantity of the external resource that should be requested from the external system.
+## 配置项
 
-  - **Config key in Yarn** (`external-resource.<resource_name>.yarn.config-key`): *optional*. If configured, the external
-  resource framework will add this key to the resource profile of container requests for Yarn. The value will be set to the
-  value of `external-resource.<resource_name>.amount`.
+首先,你需要使用分隔符“;”将所有使用的扩展资源类型的资源名称添加到 **扩展资源列表(配置键“external-resources”)** 中,例如,“external-resources: gpu;fpga”定义了两个扩展资源“gpu”和“fpga”。
+只有此处定义了扩展资源名称(**\<resource_name\>**),相应的资源才会在扩展资源框架中生效。
 
-  - **Config key in Kubernetes** (`external-resource.<resource_name>.kubernetes.config-key`): *optional*. If configured,
-  external resource framework will add `resources.limits.<config-key>` and `resources.requests.<config-key>` to the main
-  container spec of TaskManager and set the value to the value of `external-resource.<resource_name>.amount`.
+对于每个扩展资源,有以下配置选项。下面的所有配置选项中的 **\<resource_name\>** 对应于 **扩展资源列表** 中列出的名称:
 
-  - **Driver Factory** (`external-resource.<resource_name>.driver-factory.class`): *optional*. Defines the factory class

Review comment:
       Unrelated to the translation. Just trying to understand how could this be optional? What happens if the driver factory is not configured?

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -1,5 +1,5 @@
 ---
-title:  "外部资源调度框架"
+title:  "扩展资源调度框架"

Review comment:
       ”调度“二字有歧义,建议去掉

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -234,127 +230,122 @@ class FPGAInfo extends ExternalResourceInfo {
 </div>
 </div>
 
-Create a file with name `org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory` in `META-INF/services/`
-and write the factory class name (e.g. `your.domain.FPGADriverFactory`) to it.
+在 `META-INF/services/` 中创建名为 `org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory` 的文件,向其中
+写入工厂类名,如 `your.domain.FPGADriverFactory`。
 
-Then, create a jar which includes `FPGADriver`, `FPGADriverFactory`, `META-INF/services/` and all the external dependencies.
-Make a directory in `plugins/` of your Flink distribution with an arbitrary name, e.g. "fpga", and put the jar into this directory.
-See [Flink Plugin]({% link ops/plugins.zh.md %}) for more details.
+之后,将 `FPGADriver`,`FPGADriverFactory`,`META-INF/services/` 和所有外部依赖打入 jar 包。在你的 Flink 发行版的 `plugins/` 文件夹中创建一个名为“fpga”的文件夹,将打好的 jar 包放入其中。
+更多细节请查看 [Flink Plugin]({% link ops/plugins.zh.md %})。
 
 <div class="alert alert-info">
-     <strong>Note:</strong> External resources are shared by all operators running on the same machine. The community might add external resource isolation in a future release.
+     <strong>提示:</strong> 扩展资源由运行在同一台机器上的所有 operator 共享。社区可能会在未来的版本中支持外部资源隔离。
 </div>
 
-# Existing supported external resource plugins
+# 已支持的扩展资源插件
+
+目前,Flink提供 GPU 资源插件。
 
-Currently, Flink supports GPUs as external resources.
+<a name="plugin-for-gpu-resources"></a>
 
-## Plugin for GPU resources
+## GPU 插件
 
-We provide a first-party plugin for GPU resources. The plugin leverages a discovery script to discover indexes of GPU devices, which can
-be accessed from the resource *information* via the property "index". We provide a default discovery script that can be used to discover
-NVIDIA GPUs. You can also provide your custom script.
+我们为 GPU 提供了第一方插件。该插件利用一个脚本来发现 GPU 设备的索引,该索引可通过“index”从 `ExternalResourceInfo` 中获取。我们提供了一个
+默认脚本,可以用来发现 NVIDIA GPU。您还可以提供自定义脚本。
 
-We provide [an example](https://github.com/apache/flink/blob/master/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/gpu/MatrixVectorMul.java)
-which shows how to use the GPUs to do matrix-vector multiplication in Flink.
+我们提供了[一个实例程序](https://github.com/apache/flink/blob/master/flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/gpu/MatrixVectorMul.java),
+展示了如何在 Flink 中使用 GPU 资源来做矩阵-向量乘法。
 
 <div class="alert alert-info">
-     <strong>Note:</strong> Currently, for all the operators, RuntimeContext#getExternalResourceInfos returns the same set of resource information. That means, the same set of GPU devices are always accessible to all the operators running in the same TaskManager. There is no operator level isolation at the moment.
+     <strong>提示:</strong>目前,对于所有 operator,RuntimeContext#getExternalResourceInfos 会返回同样的资源信息。也即,在同一个 TaskManager 中运行的所有 operator 都可以访问同一组 GPU 设备。扩展资源目前没有 operator 级别的隔离。
 </div>
 
-### Pre-requisites
+### 前置准备
 
-To make GPU resources accessible, certain prerequisites are needed depending on your environment:
+要使 GPU 资源可访问,根据您的环境,需要满足以下先决条件:
 
-  - For standalone mode, administrators should ensure the NVIDIA driver is installed and GPU resources are accessible on all the nodes in the cluster.
+  - 对于 Standalone 模式,集群管理员应确保已安装 NVIDIA 驱动程序,并且集群中所有节点上的 GPU 资源都是可访问的。
 
-  - For Yarn deployment, administrators should configure the Yarn cluster to enable [GPU scheduling](https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/UsingGpus.html).
-  Notice the required Hadoop version is 2.10+ or 3.1+.
+  - 对于 Yarn 上部署,管理员需要配置 Yarn 集群使其[支持 GPU 调度](https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/UsingGpus.html)。
+  请注意,所需的 Hadoop 版本是 2.10+ 和 3.1+。
 
-  - For Kubernetes deployment, administrators should make sure the NVIDIA GPU [device plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/)
-  is installed. Notice the required version is 1.10+. At the moment, Kubernetes only supports NVIDIA GPU and AMD GPU. Flink only provides discovery script for NVIDIA GPUs,
-  but you can provide a custom discovery script for AMD GPUs yourself, see [Discovery script](#discovery-script).
+  - 对于 Kubernetes 上部署,管理员需要保证 NVIDIA GPU 的 [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/)
+  已在集群上安装。请注意,所需的 Kubernetes 版本是 1.10+。目前,Kubernetes只支持 NVIDIA GPU 和 AMD GPU。Flink 只提供了 NVIDIA GPU 的脚本,但你可以提供支持 AMD GPU 的
+  自定义脚本,参看 [发现脚本](#discovery-script)。
 
-### Enable GPU resources for your workload
+### 在计算任务中使用 GPU 资源
 
-As mentioned in [Enable external resources for your workload](#enable-the-external-resource-framework-for-your-workload),
-you also need to do two things to enable GPU resources:
+如[启用扩展资源框架](#enable-the-external-resource-framework-for-your-workload)中所述,要使用 GPU 资源,还需要执行两项操作:
 
-  - Configure the GPU resource.
+  - 为 GPU 资源进行相关配置。
 
-  - Get the *information* of GPU resources, which contains the GPU index as property with key "index", in operators.
+  - 在 operator 中获取 GPU 资源的*信息*,其中包含键为“index”的 GPU 索引。
 
-### Configurations
+### 配置项
 
-For the GPU plugin, you need to specify the common external resource configurations:
+对于 GPU 插件,你需要指定的扩展资源框架配置:
 
-  - `external-resources`: You need to append your resource name (e.g. gpu) for GPU resources to it.
+  - `external-resources`:你需要将 GPU 的扩展资源名称(例如“gpu”)加到该列表中。
 
-  - `external-resource.<resource_name>.amount`: The amount of GPU devices per TaskManager.
+  - `external-resource.<resource_name>.amount`:每个 TaskManager 中的 GPU 数量。
 
-  - `external-resource.<resource_name>.yarn.config-key`: For Yarn, the config key of GPU is `yarn.io/gpu`. Notice that
-  Yarn only supports NVIDIA GPU at the moment.
+  - `external-resource.<resource_name>.yarn.config-key`:对于 Yarn,GPU 的配置键是 `yarn.io/gpu`。请注意,Yarn 目前只支持 NVIDIA GPU。
 
-  - `external-resource.<resource_name>.kubernetes.config-key`: For Kubernetes, the config key of GPU is `<vendor>.com/gpu`.
-  Currently, "nvidia" and "amd" are the two supported vendors. Notice that if you use AMD GPUs, you need to provide a discovery
-  script yourself, see [Discovery script](#discovery-script).
+  - `external-resource.<resource_name>.kubernetes.config-key`:对于 Kubernetes,GPU 的配置键是 `<vendor>.com/gpu`。
+  目前,“nvidia”和“amd”是两个支持的 GPU 品牌。请注意,如果你使用 AMD GPU,你需要提供一个自定义的[发现脚本](#discovery-script)。
 
-  - external-resource.<resource_name>.driver-factory.class: Should be set to org.apache.flink.externalresource.gpu.GPUDriverFactory.
+  - `external-resource.<resource_name>.driver-factory.class`:需要设置为 org.apache.flink.externalresource.gpu.GPUDriverFactory。
 
-In addition, there are some specific configurations for the GPU plugin:
+此外,GPU 插件还有一些专有配置:
 
-  - `external-resource.<resource_name>.param.discovery-script.path`: The path of the [discovery script](#discovery-script). It
-  can either be an absolute path, or a relative path to `FLINK_HOME` when defined or current directory otherwise. If not
-  explicitly configured, the default script will be used.
+  - `external-resource.<resource_name>.param.discovery-script.path`:[发现脚本](#discovery-script)的文件路径。它既可以是绝对路
+  径,也可以是相对路径,如果定义了“FLINK_HOME”,该路径将相对于“FLINK_HOME”,否则相对于当前目录。如果没有显式配置该项,GPU 插件将使用默认脚本。
 
-  - `external-resource.<resource_name>.param.discovery-script.args`: The arguments passed to the discovery script. For the default
-  discovery script, see [Default Script](#default-script) for the available parameters.
+  - `external-resource.<resource_name>.param.discovery-script.args`:传递给发现脚本的参数。对于默认的发现脚本,请参见[默认脚本](#default-script)以获取可用参数。
 
-An example configuration for GPU resource:
+GPU 插件示例配置:
 
 {% highlight bash %}
 external-resources: gpu
-external-resource.gpu.driver-factory.class: org.apache.flink.externalresource.gpu.GPUDriverFactory # Define the driver factory class of gpu resource.
-external-resource.gpu.amount: 2 # Define the amount of gpu resource per TaskManager.
+external-resource.gpu.driver-factory.class: org.apache.flink.externalresource.gpu.GPUDriverFactory # 定义 GPU 资源的工厂类。
+external-resource.gpu.amount: 2 # 定义每个 TaskManager 的 GPU 数量。
 external-resource.gpu.param.discovery-script.path: plugins/external-resource-gpu/nvidia-gpu-discovery.sh
-external-resource.gpu.param.discovery-script.args: --enable-coordination # Define the custom param "discovery-script.args" which will be passed into the gpu driver.
+external-resource.gpu.param.discovery-script.args: --enable-coordination # 自定义参数,将被传递到 GPU 的 Driver 中。
 
 external-resource.gpu.yarn.config-key: yarn.io/gpu # for Yarn
 
 external-resource.gpu.kubernetes.config-key: nvidia.com/gpu # for Kubernetes
 {% endhighlight %}
 
-### Discovery script
+<a name="discovery-script"></a>
+
+### 发现脚本
+
+`GPUDriver` 利用发现脚本来发现 GPU 资源并生成 GPU 资源信息。
 
-The `GPUDriver` leverages a discovery script to discover GPU resources and generate the GPU resource information.
+<a name="default-script"></a>
 
-#### Default Script
+#### 默认脚本
 
-We provide a default discovery script for NVIDIA GPU, located at `plugins/external-resource-gpu/nvidia-gpu-discovery.sh` of your
-Flink distribution. The script gets the indexes of visible GPU resources through the `nvidia-smi` command. It tries to return
-the required amount (specified by `external-resource.<resource_name>.amount`) of GPU indexes in a list, and exit with non-zero if the amount cannot be satisfied.
+我们为 NVIDIA GPU 提供了一个默认脚本,位于 Flink 发行版的 `plugins/external-resource-gpu/nvidia-gpu-discovery.sh`。该脚本通过 `nvidia-smi` 工具获取
+当前可见 GPU 的索引。它尝试返回一个 GPU 索引列表,其大小由 `external-resource.<resource_name>.amount` 指定,如果 GPU 数量不足,则以非零退出。
 
-For standalone mode, multiple TaskManagers might be co-located on the same machine, and each GPU device is visible to all
-the TaskManagers. The default discovery script supports a coordination mode, in which it leverages a coordination file to
-synchronize the allocation state of GPU devices and ensure each GPU device can only be used by one TaskManager process. The relevant arguments are:
+在 Standalone 模式中,多个 TaskManager 可能位于同一台机器上,并且每个 GPU 设备对所有 TaskManager 都是可见的。默认脚本提供 GPU 协调模式,
+在这种模式下,脚本利用文件来同步 GPU 的分配情况,并确保每个GPU设备只能由一个TaskManager进程使用。相关参数为:
 
-  - `--enable-coordination-mode`: Enable the coordination mode.

Review comment:
       By default is this enabled or disabled?

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一
+个扩展资源框架。该框架支持从底层资源管理系统(如 Kubernetes)请求各种类型的资源,并向 Operator 提供使用这些资源所需的信息。该框架
+以插件形式支持不同的资源类型。目前 Flink 仅内置了支持 GPU 资源的插件,你可以为你想使用的资源类型实现第三方插件。
 
 * This will be replaced by the TOC
 {:toc}
 
-# What the external resource framework does
+<a name="what-the-external-resource-framework-does"></a>
 
-In general, the external resource framework does two things:
+# 扩展资源框架做了什么
 
-  - Set the corresponding fields of the resource requests (for requesting resources from the underlying system) with respect to your configuration.
+External resource 框架主要做了以下两件事:
 
-  - Provide operators with the *information* needed for using the resources.
+  - 根据你的配置,在 Flink 从底层资源管理系统中申请资源时,设置与扩展资源相关的字段
 
-When deployed on resource management systems (Kubernetes / Yarn), the external resource framework will ensure that the allocated pod/container
-will contain the desired external resources. Currently, many resource management systems support external resources. For example,
-Kubernetes supports GPU, FPGA, etc. through its [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/)
-mechanism since v1.10, and Yarn supports GPU and FPGA resources since 2.10 and 3.1. External resources are not supported by Flink’s Mesos
-integration at the moment. In Standalone mode, the user has to ensure that the external resources are available.
+  - 为 Operator 提供使用这些资源所需要的*信息*
 
-The external resource framework will provide the corresponding *information* to operators. The external resource information,
-which contains the basic properties needed for using the resources, is generated by the configured external resource *drivers*.
+当 Flink 部署在资源管理系统(Kubernetes、Yarn)上时,扩展资源框架将确保分配的 Pod、Container 包含所需的扩展资源。目前,许多资源
+管理系统都支持扩展资源。例如,Kubernetes 从 v1.10 开始通过 [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/) 机制
+支持 GPU、FPGA 等资源调度,Yarn 从 2.10 和 3.1 开始支持 GPU 和 FPGA 的调度。目前,扩展资源框架并不支持 Mesos 模式。在 Standalone 模式下,由用户负责确保扩展资源的可用性。
 
-# Enable the external resource framework for your workload
+扩展资源框架向 Operator 提供扩展资源相关*信息*,这些信息由你配置的扩展资源 *Driver* 生成,包含了使用扩展资源所需要的基本属性。
 
-To enable an external resource with the external resource framework, you need to:
+<a name="enable-the-external-resource-framework-for-your-workload"></a>
 
-  - Prepare the external resource *plugin*.
+# 启用扩展资源框架
 
-  - Set configurations for the external resource.
+为了启用扩展资源框架来使用扩展资源,你需要:
 
-  - Get the external resource *information* from `RuntimeContext` and use it in your operators.
+  - 为该扩展资源准备扩展资源框架的*插件*
 
-## Prepare plugins
+  - 为该扩展资源设置相关的配置
 
-You need to prepare the external resource plugin and put it into the `plugins/` folder of your Flink distribution, see
-[Flink Plugins]({% link ops/plugins.zh.md %}). Apache Flink provides a first-party [plugin for GPU resources](#plugin-for-gpu-resources). You can also
-[implement a plugin for your custom resource type](#implement-a-plugin-for-your-custom-resource-type).
+  - 在你的 Operator 中,从 `RuntimeContext` 来获取扩展资源的*信息*并使用这些资源
 
-## Configurations
+<a name="prepare-plugins"></a>
 
-First, you need to add resource names for all the external resource types to the **external resource list (with the configuration key ‘external-resources’)**
-with delimiter ";", e.g. "external-resources: gpu;fpga" for two external resources "gpu" and "fpga". Only the **\<resource_name\>**
-defined here will go into effect in the external resource framework.
+## 准备插件
 
-For each external resource, you could configure the below options. The **\<resource_name\>** in all the below configuration options
-corresponds to the name listed in the **external resource list**:
+你需要为使用的扩展资源准备插件,并将其放入 Flink 发行版的 `plugins/` 文件夹中, 参看 [Flink Plugins]({% link ops/plugins.zh.md %})。
+Flink 提供了第一方的 [GPU 资源插件](#plugin-for-gpu-resources)。你同样可以为你所使用的扩展资源实现自定义插件[实现自定义插件](#implement-a-plugin-for-your-custom-resource-type)。
 
-  - **Amount** (`external.<resource_name>.amount`): This is the quantity of the external resource that should be requested from the external system.
+## 配置项
 
-  - **Config key in Yarn** (`external-resource.<resource_name>.yarn.config-key`): *optional*. If configured, the external
-  resource framework will add this key to the resource profile of container requests for Yarn. The value will be set to the
-  value of `external-resource.<resource_name>.amount`.
+首先,你需要使用分隔符“;”将所有使用的扩展资源类型的资源名称添加到 **扩展资源列表(配置键“external-resources”)** 中,例如,“external-resources: gpu;fpga”定义了两个扩展资源“gpu”和“fpga”。
+只有此处定义了扩展资源名称(**\<resource_name\>**),相应的资源才会在扩展资源框架中生效。
 
-  - **Config key in Kubernetes** (`external-resource.<resource_name>.kubernetes.config-key`): *optional*. If configured,
-  external resource framework will add `resources.limits.<config-key>` and `resources.requests.<config-key>` to the main
-  container spec of TaskManager and set the value to the value of `external-resource.<resource_name>.amount`.
+对于每个扩展资源,有以下配置选项。下面的所有配置选项中的 **\<resource_name\>** 对应于 **扩展资源列表** 中列出的名称:

Review comment:
       ```suggestion
   对于每个扩展资源,有以下配置选项。下面的所有配置选项中的 **\<resource_name\>** 对应于**扩展资源列表**中列出的名称:
   ```

##########
File path: docs/ops/external_resources.zh.md
##########
@@ -23,98 +23,90 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-In addition to CPU and memory, many workloads also need some other resources, e.g. GPUs for deep learning. To support external
-resources, Flink provides an external resource framework. The framework supports requesting various types of resources from the
-underlying resource management systems (e.g., Kubernetes), and supplies information needed for using these resources to the operators.
-Different resource types can be supported. You can either leverage built-in plugins provided by Flink (currently only for GPU support),
-or implement your own plugins for custom resource types.
+许多计算任务需要使用除了 CPU 与内存外的资源,如用深入学习场景需要使用 GPU 来进行加速。为了支持这种扩展资源,Flink 提供了一
+个扩展资源框架。该框架支持从底层资源管理系统(如 Kubernetes)请求各种类型的资源,并向 Operator 提供使用这些资源所需的信息。该框架
+以插件形式支持不同的资源类型。目前 Flink 仅内置了支持 GPU 资源的插件,你可以为你想使用的资源类型实现第三方插件。
 
 * This will be replaced by the TOC
 {:toc}
 
-# What the external resource framework does
+<a name="what-the-external-resource-framework-does"></a>
 
-In general, the external resource framework does two things:
+# 扩展资源框架做了什么
 
-  - Set the corresponding fields of the resource requests (for requesting resources from the underlying system) with respect to your configuration.
+External resource 框架主要做了以下两件事:
 
-  - Provide operators with the *information* needed for using the resources.
+  - 根据你的配置,在 Flink 从底层资源管理系统中申请资源时,设置与扩展资源相关的字段
 
-When deployed on resource management systems (Kubernetes / Yarn), the external resource framework will ensure that the allocated pod/container
-will contain the desired external resources. Currently, many resource management systems support external resources. For example,
-Kubernetes supports GPU, FPGA, etc. through its [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/)
-mechanism since v1.10, and Yarn supports GPU and FPGA resources since 2.10 and 3.1. External resources are not supported by Flink’s Mesos
-integration at the moment. In Standalone mode, the user has to ensure that the external resources are available.
+  - 为 Operator 提供使用这些资源所需要的*信息*
 
-The external resource framework will provide the corresponding *information* to operators. The external resource information,
-which contains the basic properties needed for using the resources, is generated by the configured external resource *drivers*.
+当 Flink 部署在资源管理系统(Kubernetes、Yarn)上时,扩展资源框架将确保分配的 Pod、Container 包含所需的扩展资源。目前,许多资源
+管理系统都支持扩展资源。例如,Kubernetes 从 v1.10 开始通过 [Device Plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/) 机制
+支持 GPU、FPGA 等资源调度,Yarn 从 2.10 和 3.1 开始支持 GPU 和 FPGA 的调度。目前,扩展资源框架并不支持 Mesos 模式。在 Standalone 模式下,由用户负责确保扩展资源的可用性。
 
-# Enable the external resource framework for your workload
+扩展资源框架向 Operator 提供扩展资源相关*信息*,这些信息由你配置的扩展资源 *Driver* 生成,包含了使用扩展资源所需要的基本属性。
 
-To enable an external resource with the external resource framework, you need to:
+<a name="enable-the-external-resource-framework-for-your-workload"></a>
 
-  - Prepare the external resource *plugin*.
+# 启用扩展资源框架
 
-  - Set configurations for the external resource.
+为了启用扩展资源框架来使用扩展资源,你需要:
 
-  - Get the external resource *information* from `RuntimeContext` and use it in your operators.
+  - 为该扩展资源准备扩展资源框架的*插件*
 
-## Prepare plugins
+  - 为该扩展资源设置相关的配置
 
-You need to prepare the external resource plugin and put it into the `plugins/` folder of your Flink distribution, see
-[Flink Plugins]({% link ops/plugins.zh.md %}). Apache Flink provides a first-party [plugin for GPU resources](#plugin-for-gpu-resources). You can also
-[implement a plugin for your custom resource type](#implement-a-plugin-for-your-custom-resource-type).
+  - 在你的 Operator 中,从 `RuntimeContext` 来获取扩展资源的*信息*并使用这些资源
 
-## Configurations
+<a name="prepare-plugins"></a>
 
-First, you need to add resource names for all the external resource types to the **external resource list (with the configuration key ‘external-resources’)**
-with delimiter ";", e.g. "external-resources: gpu;fpga" for two external resources "gpu" and "fpga". Only the **\<resource_name\>**
-defined here will go into effect in the external resource framework.
+## 准备插件
 
-For each external resource, you could configure the below options. The **\<resource_name\>** in all the below configuration options
-corresponds to the name listed in the **external resource list**:
+你需要为使用的扩展资源准备插件,并将其放入 Flink 发行版的 `plugins/` 文件夹中, 参看 [Flink Plugins]({% link ops/plugins.zh.md %})。
+Flink 提供了第一方的 [GPU 资源插件](#plugin-for-gpu-resources)。你同样可以为你所使用的扩展资源实现自定义插件[实现自定义插件](#implement-a-plugin-for-your-custom-resource-type)。
 
-  - **Amount** (`external.<resource_name>.amount`): This is the quantity of the external resource that should be requested from the external system.
+## 配置项
 
-  - **Config key in Yarn** (`external-resource.<resource_name>.yarn.config-key`): *optional*. If configured, the external
-  resource framework will add this key to the resource profile of container requests for Yarn. The value will be set to the
-  value of `external-resource.<resource_name>.amount`.
+首先,你需要使用分隔符“;”将所有使用的扩展资源类型的资源名称添加到 **扩展资源列表(配置键“external-resources”)** 中,例如,“external-resources: gpu;fpga”定义了两个扩展资源“gpu”和“fpga”。

Review comment:
       ```suggestion
   首先,你需要使用分隔符“;”将所有使用的扩展资源类型的资源名称添加到**扩展资源列表(配置键“external-resources”)**中,例如,“external-resources: gpu;fpga”定义了两个扩展资源“gpu”和“fpga”。
   ```




----------------------------------------------------------------
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 #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388",
       "triggerID" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1d004f6c97f03f46c8f29fbc348dac9036bdf493 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388) 
   
   <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 #12865: [FLINK-18264][doc-zh] Translate External Resources page to Chinese

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388",
       "triggerID" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "triggerType" : "PUSH"
     }, {
       "hash" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4640",
       "triggerID" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "triggerType" : "PUSH"
     }, {
       "hash" : "310f2de93555f8807d352839c02b7cf93b91d05e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4659",
       "triggerID" : "310f2de93555f8807d352839c02b7cf93b91d05e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 310f2de93555f8807d352839c02b7cf93b91d05e Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4659) 
   
   <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 #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388",
       "triggerID" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1d004f6c97f03f46c8f29fbc348dac9036bdf493 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388) 
   
   <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 #12865: [FLINK-18264][doc-zh] Translate External Resources page to Chinese

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4388",
       "triggerID" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "triggerType" : "PUSH"
     }, {
       "hash" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4640",
       "triggerID" : "58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35",
       "triggerType" : "PUSH"
     }, {
       "hash" : "310f2de93555f8807d352839c02b7cf93b91d05e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "310f2de93555f8807d352839c02b7cf93b91d05e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 58ab527c6f2b8e3a65de9ec3d0e253fb7e2cfe35 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4640) 
   * 310f2de93555f8807d352839c02b7cf93b91d05e 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] KarmaGYZ commented on pull request #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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


   cc @xintongsong 


----------------------------------------------------------------
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 #12865: [FLINK-18264][doc] Translate External Resources page to Chinese

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "1d004f6c97f03f46c8f29fbc348dac9036bdf493",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1d004f6c97f03f46c8f29fbc348dac9036bdf493 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] xintongsong commented on pull request #12865: [FLINK-18264][doc-zh] Translate External Resources page to Chinese

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


   @flinkbot run azure


----------------------------------------------------------------
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