[GitHub] [flink] ye-lun commented on a change in pull request #8995: [FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-10 Thread GitBox
ye-lun commented on a change in pull request #8995: 
[FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r301922675
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -22,29 +22,20 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This section describes how the parallel execution of programs can be 
configured in Flink. A Flink
-program consists of multiple tasks (transformations/operators, data sources, 
and sinks). A task is split into
-several parallel instances for execution and each parallel instance processes 
a subset of the task's
-input data. The number of parallel instances of a task is called its 
*parallelism*.
-
-If you want to use [savepoints]({{ site.baseurl }}/ops/state/savepoints.html) 
you should also consider
-setting a maximum parallelism (or `max parallelism`). When restoring from a 
savepoint you can
-change the parallelism of specific operators or the whole program and this 
setting specifies
-an upper bound on the parallelism. This is required because Flink internally 
partitions state
-into key-groups and we cannot have `+Inf` number of key-groups because this 
would be detrimental
-to performance.
+本节描述了如何在 Flink 中配置程序的并发执行。一个 Flink 程序由多个任务 task 组成(转换/算子、数据源和数据汇)。一个 task 
包括多个并发执行的实例,且每一个实例都处理 task 输入数据的一个子集。一个 task 的并发实例数被称为该 task 的 *parallelism*。
 
 Review comment:
   OK,那我就统一改成并行


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: [FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-09 Thread GitBox
ye-lun commented on a change in pull request #8995: 
[FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r301525333
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -22,29 +22,20 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This section describes how the parallel execution of programs can be 
configured in Flink. A Flink
-program consists of multiple tasks (transformations/operators, data sources, 
and sinks). A task is split into
-several parallel instances for execution and each parallel instance processes 
a subset of the task's
-input data. The number of parallel instances of a task is called its 
*parallelism*.
-
-If you want to use [savepoints]({{ site.baseurl }}/ops/state/savepoints.html) 
you should also consider
-setting a maximum parallelism (or `max parallelism`). When restoring from a 
savepoint you can
-change the parallelism of specific operators or the whole program and this 
setting specifies
-an upper bound on the parallelism. This is required because Flink internally 
partitions state
-into key-groups and we cannot have `+Inf` number of key-groups because this 
would be detrimental
-to performance.
+本节描述了如何在 Flink 中配置程序的并发执行。一个 Flink 程序由多个任务 task 组成(转换/算子、数据源和数据汇)。一个 task 
包括多个并发执行的实例,且每一个实例都处理 task 输入数据的一个子集。一个 task 的并发实例数被称为该 task 的 *parallelism*。
 
 Review comment:
   @klion26 @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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: [FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-09 Thread GitBox
ye-lun commented on a change in pull request #8995: 
[FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r301502631
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -80,17 +71,11 @@ env.execute("Word Count Example")
 
 
 
-### Execution Environment Level
+### 执行环境层次
 
-As mentioned [here]({{ site.baseurl 
}}/dev/api_concepts.html#anatomy-of-a-flink-program) Flink
-programs are executed in the context of an execution environment. An
-execution environment defines a default parallelism for all operators, data 
sources, and data sinks
-it executes. Execution environment parallelism can be overwritten by 
explicitly configuring the
-parallelism of an operator.
+如[此节]({{ site.baseurl 
}}/zh/dev/api_concepts.html#anatomy-of-a-flink-program)所描述,Flink 
程序运行在执行环境的上下文中。执行环境为所有执行的算子、数据源、数据汇定义了一个默认的 parallelism。可以显式配置算子层次的 parallelism 
去覆盖执行环境的 parallelism。
 
-The default parallelism of an execution environment can be specified by 
calling the
-`setParallelism()` method. To execute all operators, data sources, and data 
sinks with a parallelism
-of `3`, set the default parallelism of the execution environment as follows:
+执行环境的默认 parallelism 可以通过调用 `setParallelism()` 方法指定。可以通过如下的方式设置执行环境的 
parallelism,以并发度 `3`来执行所有的算子、数据源和数据汇:
 
 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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: [FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-09 Thread GitBox
ye-lun commented on a change in pull request #8995: 
[FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r301497488
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -80,17 +71,11 @@ env.execute("Word Count Example")
 
 
 
-### Execution Environment Level
+### 执行环境层次
 
-As mentioned [here]({{ site.baseurl 
}}/dev/api_concepts.html#anatomy-of-a-flink-program) Flink
-programs are executed in the context of an execution environment. An
-execution environment defines a default parallelism for all operators, data 
sources, and data sinks
-it executes. Execution environment parallelism can be overwritten by 
explicitly configuring the
-parallelism of an operator.
+如[此节]({{ site.baseurl 
}}/zh/dev/api_concepts.html#anatomy-of-a-flink-program)所描述,Flink 
程序运行在执行环境的上下文中。执行环境为所有执行的算子、数据源、数据汇定义了一个默认的 parallelism。可以显式配置算子层次的 parallelism 
去覆盖执行环境的 parallelism。
 
-The default parallelism of an execution environment can be specified by 
calling the
-`setParallelism()` method. To execute all operators, data sources, and data 
sinks with a parallelism
-of `3`, set the default parallelism of the execution environment as follows:
+执行环境的默认 parallelism 可以通过调用 `setParallelism()` 方法指定。可以通过如下的方式设置执行环境的 
parallelism,以并发度 `3`来执行所有的算子、数据源和数据汇:
 
 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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: [FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-09 Thread GitBox
ye-lun commented on a change in pull request #8995: 
[FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r301495755
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -22,29 +22,20 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This section describes how the parallel execution of programs can be 
configured in Flink. A Flink
-program consists of multiple tasks (transformations/operators, data sources, 
and sinks). A task is split into
-several parallel instances for execution and each parallel instance processes 
a subset of the task's
-input data. The number of parallel instances of a task is called its 
*parallelism*.
-
-If you want to use [savepoints]({{ site.baseurl }}/ops/state/savepoints.html) 
you should also consider
-setting a maximum parallelism (or `max parallelism`). When restoring from a 
savepoint you can
-change the parallelism of specific operators or the whole program and this 
setting specifies
-an upper bound on the parallelism. This is required because Flink internally 
partitions state
-into key-groups and we cannot have `+Inf` number of key-groups because this 
would be detrimental
-to performance.
+本节描述了如何在 Flink 中配置程序的并发执行。一个 Flink 程序由多个任务 task 组成(转换/算子、数据源和数据汇)。一个 task 
包括多个并发执行的实例,且每一个实例都处理 task 输入数据的一个子集。一个 task 的并发实例数被称为该 task 的 *parallelism*。
 
 Review comment:
   个人认为 “ parallelism”可以不用翻译


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: [FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-09 Thread GitBox
ye-lun commented on a change in pull request #8995: 
[FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r301446109
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -22,29 +22,20 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This section describes how the parallel execution of programs can be 
configured in Flink. A Flink
-program consists of multiple tasks (transformations/operators, data sources, 
and sinks). A task is split into
-several parallel instances for execution and each parallel instance processes 
a subset of the task's
-input data. The number of parallel instances of a task is called its 
*parallelism*.
-
-If you want to use [savepoints]({{ site.baseurl }}/ops/state/savepoints.html) 
you should also consider
-setting a maximum parallelism (or `max parallelism`). When restoring from a 
savepoint you can
-change the parallelism of specific operators or the whole program and this 
setting specifies
-an upper bound on the parallelism. This is required because Flink internally 
partitions state
-into key-groups and we cannot have `+Inf` number of key-groups because this 
would be detrimental
-to performance.
+本节描述了如何在 Flink 中配置程序的并发执行。一个 Flink 程序由多个任务 task 组成(转换/算子、数据源和数据汇)。一个 task 
包括多个并发执行的实例,且每一个实例都处理 task 输入数据的一个子集。一个 task 的并发实例数被称为该 task 的 *parallelism*。
 
 Review comment:
   @klion26  what is your option about this?


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: [FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-09 Thread GitBox
ye-lun commented on a change in pull request #8995: 
[FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r301445869
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -22,29 +22,20 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This section describes how the parallel execution of programs can be 
configured in Flink. A Flink
-program consists of multiple tasks (transformations/operators, data sources, 
and sinks). A task is split into
-several parallel instances for execution and each parallel instance processes 
a subset of the task's
-input data. The number of parallel instances of a task is called its 
*parallelism*.
-
-If you want to use [savepoints]({{ site.baseurl }}/ops/state/savepoints.html) 
you should also consider
-setting a maximum parallelism (or `max parallelism`). When restoring from a 
savepoint you can
-change the parallelism of specific operators or the whole program and this 
setting specifies
-an upper bound on the parallelism. This is required because Flink internally 
partitions state
-into key-groups and we cannot have `+Inf` number of key-groups because this 
would be detrimental
-to performance.
+本节描述了如何在 Flink 中配置程序的并发执行。一个 Flink 程序由多个任务 task 组成(转换/算子、数据源和数据汇)。一个 task 
包括多个并发执行的实例,且每一个实例都处理 task 输入数据的一个子集。一个 task 的并发实例数被称为该 task 的 *parallelism*。
 
 Review comment:
   @wuchong  in this page 
"https://cwiki.apache.org/confluence/display/FLINK/Flink+Translation+Specifications;
 I find that
   "当单词是指代码中的属性名、方法名、对象名、类名、标签名等时,可以不译。例如 "parallelism parameter" 
不需要翻译成“并发参数”,而是应为“parallelism 属性”。"
   


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-08 Thread GitBox
ye-lun commented on a change in pull request #8995: 
FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r301361276
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -168,26 +168,7 @@ try {
 
 最大 parallelism 可以在所有设置 parallelism 的地方进行设定(客户端和系统层次除外)。与调用 `setParallelism()` 
方法修改并发度相似,你可以通过调用 `setMaxParallelism()` 方法来设定最大 parallelism。
 
-默认的最大 parallelism 等于将 operatorParallelism + (operatorParallelism / 2) 值舍入到其下一个 
`2` 的幂次方的值,其计算方式如以下所示。
-
-{% highlight scala %}
-   /**
-* Round the given number to the next power of two.
-* @param x number is the value  of 'operatorParallelism + 
(operatorParallelism / 2)'
-* @return x rounded up to the next power of two
-*/
-   public static int roundUpToPowerOfTwo(int x) {
-   x = x - 1;
-   x |= x >> 1;
-   x |= x >> 2;
-   x |= x >> 4;
-   x |= x >> 8;
-   x |= x >> 16;
-   return x + 1;
-   }
-{% endhighlight %}
-
-注意,默认最大 parallelism 下限为 `128`,上限为 `32768`。
+默认的最大 parallelism 等于将 `operatorParallelism + (operatorParallelism / 2)` 
值四舍五入到大于等于该值的一个整型值,并且这个整型值是 `2` 的幂次方,注意默认最大 parallelism 下限为 `128`,上限为 `32768`。
 
 Review comment:
   ok,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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-07 Thread GitBox
ye-lun commented on a change in pull request #8995: 
FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r300900856
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -177,25 +159,19 @@ try {
 
 
 
-### System Level
+### 系统层次
+
+可以通过设置 ./conf/flink-conf.yaml 文件中的 parallelism.default 参数,在系统层次来指定所有执行环境的默认 
parallelism。你可以通过查阅[配置文档]({{ site.baseurl }}/zh/ops/config.html)获取更多细节。
 
-A system-wide default parallelism for all execution environments can be 
defined by setting the
-`parallelism.default` property in `./conf/flink-conf.yaml`. See the
-[Configuration]({{ site.baseurl }}/ops/config.html) documentation for details.
 
-## Setting the Maximum Parallelism
+## 设置最大并发度
 
-The maximum parallelism can be set in places where you can also set a 
parallelism
-(except client level and system level). Instead of calling `setParallelism()` 
you call
-`setMaxParallelism()` to set the maximum parallelism.
+最大 parallelism 可以在所有设置 parallelism 的地方进行设定(除了客户端和系统层次)。与调用 `setParallelism()` 
方法修改并发度相似,你可以通过调用 `setMaxParallelism()` 方法来设定最大 parallelism。
 
-The default setting for the maximum parallelism is roughly 
`operatorParallelism + (operatorParallelism / 2)` with
-a lower bound of `127` and an upper bound of `32768`.
+默认的最大 parallelism 大致等于算子的 parallelism + 算子的
 
 Review comment:
   what you mean is that "operatorParallelism + (operatorParallelism / 2)"  can 
not translate ? and 
   translate by the  code from "KeyGroupRangeAssignment:: 
computeDefaultMaxParallelism()"?


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-06 Thread GitBox
ye-lun commented on a change in pull request #8995: 
FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r300833751
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -22,29 +22,20 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This section describes how the parallel execution of programs can be 
configured in Flink. A Flink
-program consists of multiple tasks (transformations/operators, data sources, 
and sinks). A task is split into
-several parallel instances for execution and each parallel instance processes 
a subset of the task's
-input data. The number of parallel instances of a task is called its 
*parallelism*.
-
-If you want to use [savepoints]({{ site.baseurl }}/ops/state/savepoints.html) 
you should also consider
-setting a maximum parallelism (or `max parallelism`). When restoring from a 
savepoint you can
-change the parallelism of specific operators or the whole program and this 
setting specifies
-an upper bound on the parallelism. This is required because Flink internally 
partitions state
-into key-groups and we cannot have `+Inf` number of key-groups because this 
would be detrimental
-to performance.
+本节描述了如何在 Flink 中配置程序的并发执行。一个 Flink 程序由多个任务 task 组成(转换/算子、数据源和数据流出)。一个 task 
包括多个并发执行的实例,且每一个实例都处理某个 task 输入数据的一个子集。一个 task 的并发实例数被称为该 task 的 parallelism。
 
 Review comment:
   yes, what you say is logical。


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-05 Thread GitBox
ye-lun commented on a change in pull request #8995: 
FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r300821436
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -177,25 +159,18 @@ try {
 
 
 
-### System Level
+### 系统层次
 
-A system-wide default parallelism for all execution environments can be 
defined by setting the
-`parallelism.default` property in `./conf/flink-conf.yaml`. See the
-[Configuration]({{ site.baseurl }}/ops/config.html) documentation for details.
+可以通过设置 ./conf/flink-conf.yaml 文件中的 parallelism.default 参数,在系统层次来指定所有执行环境的默认 
parallelism。你可以通过查阅 [配置文档]({{ site.baseurl }}/zh/ops/config.html) 获取更多细节。
+获取更多细节。
 
-## Setting the Maximum Parallelism
+## 设置最大并发度
 
-The maximum parallelism can be set in places where you can also set a 
parallelism
-(except client level and system level). Instead of calling `setParallelism()` 
you call
-`setMaxParallelism()` to set the maximum parallelism.
+最大 parallelism 可以在所有设置 parallelism 的地方进行设定(除了客户端和系统层次)。与调用 `setParallelism()` 
方法修改并发度相似,你可以通过调用 `setMaxParallelism()` 方法来设定最大 parallelism。
 
-The default setting for the maximum parallelism is roughly 
`operatorParallelism + (operatorParallelism / 2)` with
-a lower bound of `127` and an upper bound of `32768`.
+默认的最大 parallelism 大致等于算子的 parallelism + 算子的 parallelism/2,其下限为 127,上限为 32768。
 
 Review comment:
   ok


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-05 Thread GitBox
ye-lun commented on a change in pull request #8995: 
FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r300821012
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -177,25 +159,18 @@ try {
 
 
 
-### System Level
+### 系统层次
 
-A system-wide default parallelism for all execution environments can be 
defined by setting the
-`parallelism.default` property in `./conf/flink-conf.yaml`. See the
-[Configuration]({{ site.baseurl }}/ops/config.html) documentation for details.
+可以通过设置 ./conf/flink-conf.yaml 文件中的 parallelism.default 参数,在系统层次来指定所有执行环境的默认 
parallelism。你可以通过查阅 [配置文档]({{ site.baseurl }}/zh/ops/config.html) 获取更多细节。
+获取更多细节。
 
-## Setting the Maximum Parallelism
+## 设置最大并发度
 
-The maximum parallelism can be set in places where you can also set a 
parallelism
-(except client level and system level). Instead of calling `setParallelism()` 
you call
-`setMaxParallelism()` to set the maximum parallelism.
+最大 parallelism 可以在所有设置 parallelism 的地方进行设定(除了客户端和系统层次)。与调用 `setParallelism()` 
方法修改并发度相似,你可以通过调用 `setMaxParallelism()` 方法来设定最大 parallelism。
 
-The default setting for the maximum parallelism is roughly 
`operatorParallelism + (operatorParallelism / 2)` with
-a lower bound of `127` and an upper bound of `32768`.
+默认的最大 parallelism 大致等于算子的 parallelism + 算子的 parallelism/2,其下限为 127,上限为 32768。
 
-Attention Setting the maximum 
parallelism to a very large
-value can be detrimental to performance because some state backends have to 
keep internal data
-structures that scale with the number of key-groups (which are the internal 
implementation mechanism for
-rescalable state).
+注意 为最大 parallelism 
设置一个非常大的值将会降低性能,因为一些 state backends 需要维持内部的数据结构,而这些数据结构将会随着 key-groups 
的数目而扩张(key-groups 是 rescalable state 内部实现机制)
 
 Review comment:
   yes


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [flink] ye-lun commented on a change in pull request #8995: FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese

2019-07-05 Thread GitBox
ye-lun commented on a change in pull request #8995: 
FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r300820989
 
 

 ##
 File path: docs/dev/parallel.zh.md
 ##
 @@ -22,29 +22,20 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-This section describes how the parallel execution of programs can be 
configured in Flink. A Flink
-program consists of multiple tasks (transformations/operators, data sources, 
and sinks). A task is split into
-several parallel instances for execution and each parallel instance processes 
a subset of the task's
-input data. The number of parallel instances of a task is called its 
*parallelism*.
-
-If you want to use [savepoints]({{ site.baseurl }}/ops/state/savepoints.html) 
you should also consider
-setting a maximum parallelism (or `max parallelism`). When restoring from a 
savepoint you can
-change the parallelism of specific operators or the whole program and this 
setting specifies
-an upper bound on the parallelism. This is required because Flink internally 
partitions state
-into key-groups and we cannot have `+Inf` number of key-groups because this 
would be detrimental
-to performance.
+本节描述了如何在 Flink 中配置程序的并发执行。一个 Flink 程序由多个任务 task 组成(转换/算子、数据源和数据流出)。一个 task 
包括多个并发执行的实例,且每一个实例都处理某个 task 输入数据的一个子集。一个 task 的并发实例数被称为该 task 的 parallelism。
 
 Review comment:
   I think "流出" is better than "汇"


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:
us...@infra.apache.org


With regards,
Apache Git Services