KarmaGYZ commented on a change in pull request #11401: [FLINK-15991][doc][zh] 
Translate memory configuration docs into Chinese.
URL: https://github.com/apache/flink/pull/11401#discussion_r392804787
 
 

 ##########
 File path: docs/ops/memory/mem_migration.zh.md
 ##########
 @@ -22,67 +22,63 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-The [memory setup of task managers](mem_setup.html) has changed a lot with the 
1.10 release. Many configuration options
-were removed or their semantics changed. This guide will help you to migrate 
the memory configuration from Flink
-[<= 
*1.9*](https://ci.apache.org/projects/flink/flink-docs-release-1.9/ops/mem_setup.html)
 to >= *1.10*.
+在 1.10 版本中,Flink 的 [TaskExecutor 内存配置方法](mem_setup.html)发生了较大的变化。
+部分配置参数被移除了,或是语义上发生了变化。
+本篇升级指南将介绍如何将 [*Flink 1.9 
及以前版本*](https://ci.apache.org/projects/flink/flink-docs-release-1.9/ops/mem_setup.html)的内存配置升级到
 *Flink 1.10 及以后版本*。
 
 * toc
 {:toc}
 
 <div class="alert alert-warning">
-  <strong>Warning:</strong> It is important to review this guide because the 
legacy and new memory configuration can
-  result in different sizes of memory components. If you try to reuse your 
Flink configuration from older versions
-  before 1.10, it can result in changes to the behavior, performance or even 
configuration failures of your application.
+  <strong>注意:</strong> 请仔细阅读本篇升级指南。
+  使用原本的和新的内存配制方法可能会使内存组成部分具有截然不同的大小。
+  未经调整直接沿用 Flink 1.10 以前版本的配置文件,可能导致应用的行为、性能发生变化,甚至造成应用执行失败。
 </div>
 
-<span class="label label-info">Note</span> Before version *1.10*, Flink did 
not require that memory related options are set at all
-as they all had default values. The [new memory 
configuration](mem_setup.html#配置总内存) requires
-that at least one subset of the following options is configured explicitly, 
otherwise the configuration will fail:
+<span class="label label-info">提示</span> 在 *1.10* 版本之前,Flink 
不要求用户一定要配置内存相关的参数,因为这些参数都具有默认值。
+[新的内存配置](mem_setup.html#配置总内存)要求用户至少指定下列配置参数(或参数组合)的其中之一,否则 Flink 将无法启动。
 * 
[`taskmanager.memory.flink.size`](../config.html#taskmanager-memory-flink-size)
 * 
[`taskmanager.memory.process.size`](../config.html#taskmanager-memory-process-size)
-* 
[`taskmanager.memory.task.heap.size`](../config.html#taskmanager-memory-task-heap-size)
 and 
[`taskmanager.memory.managed.size`](../config.html#taskmanager-memory-managed-size)
+* 
[`taskmanager.memory.task.heap.size`](../config.html#taskmanager-memory-task-heap-size)
 和 
[`taskmanager.memory.managed.size`](../config.html#taskmanager-memory-managed-size)
 
-The [default `flink-conf.yaml`](#default-configuration-in-flink-confyaml) 
shipped with Flink sets 
[`taskmanager.memory.process.size`](../config.html#taskmanager-memory-process-size)
-to make the default memory configuration consistent.
+Flink 自带的[默认 flink-conf.yaml](#flink-confyaml-中的默认配置) 文件指定了 
[`taskmanager.memory.process.size`](../config.html#taskmanager-memory-process-size),以便与此前的行为保持一致。
 
-This 
[spreadsheet](https://docs.google.com/spreadsheets/d/1mJaMkMPfDJJ-w6nMXALYmTc4XxiV30P5U7DzgwLkSoE)
 can also help
-to evaluate and compare the results of the legacy and new memory computations.
+可以使用这张[电子表格](https://docs.google.com/spreadsheets/d/1mJaMkMPfDJJ-w6nMXALYmTc4XxiV30P5U7DzgwLkSoE)来估算和比较原本的和新的内存配置下的计算结果。
 
-## Changes in Configuration Options
+## 配置参数变化
 
-This chapter shortly lists all changes to Flink's memory configuration options 
introduced with the *1.10* release.
-It also references other chapters for more details about migrating to the new 
configuration options.
+本节简要列出了 *Flink 1.10* 引入的配置参数变化,并援引其他章节中关于如何升级到新配置参数的相关描述。
 
-The following options are completely removed. If they are still used, they 
will be ignored.
+下列配置参数已被彻底移除,配置它们将不会产生任何效果。
 
 <table class="table table-bordered">
     <thead>
         <tr>
-            <th class="text-left">Removed option</th>
-            <th class="text-left">Note</th>
+            <th class="text-left">移除的配置参数</th>
+            <th class="text-left">备注</th>
         </tr>
     </thead>
     <tbody>
         <tr>
             <td><h5>taskmanager.memory.fraction</h5></td>
             <td>
-                Check the description of the new option <a 
href="../config.html#taskmanager-memory-managed-fraction)">taskmanager.memory.managed.fraction</a>.
-                The new option has different semantics and the value of the 
deprecated option usually has to be adjusted.
-                See also <a href="#managed-memory">how to migrate managed 
memory</a>.
+                请参考新配置参数 <a 
href="../config.html#taskmanager-memory-managed-fraction)">taskmanager.memory.managed.fraction</a>
 的相关描述。
 
 Review comment:
   Broken link. Redundant ")".

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

Reply via email to