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

 ##########
 File path: docs/dev/parallel.zh.md
 ##########
 @@ -177,25 +159,37 @@ try {
 </div>
 
 
-### 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
+最大 parallelism 可以在所有设置 parallelism 的地方进行设定(客户端和系统层次除外)。与调用 `setParallelism()` 
方法修改并发度相似,你可以通过调用 `setMaxParallelism()` 方法来设定最大 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 等于将 operatorParallelism + (operatorParallelism / 2) 值舍入到其下一个 
`2` 的幂次方的值,其计算方式如以下所示。
 
 Review comment:
   ```suggestion
   默认的最大 parallelism 等于将 `operatorParallelism + (operatorParallelism / 2)` 
值舍入到其下一个 `2` 的幂次方的值,其计算方式如以下所示。
   ```
   I think the current translation is better than the previous, and maybe we 
could do it better here. 
   
   "默认的最大 parallelism 等于将 operatorParallelism + (operatorParallelism / 2) 
值舍入到其下一个 `2` 的幂次方的值" 读起来有一点拗口
   
   I don't think we need to attach the code here.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to