YngwieWang commented on a change in pull request #9047: 
[FLINK-13109][docs-zh]Translate "Restart Strategies" page into Chinese
URL: https://github.com/apache/flink/pull/9047#discussion_r302093252
 
 

 ##########
 File path: docs/dev/restart_strategies.zh.md
 ##########
 @@ -22,90 +22,84 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-Flink supports different restart strategies which control how the jobs are 
restarted in case of a failure.
-The cluster can be started with a default restart strategy which is always 
used when no job specific restart strategy has been defined.
-In case that the job is submitted with a restart strategy, this strategy 
overrides the cluster's default setting.
+在作业发生故障时 Flink 支持不同的重启策略来控制如何重启。如果没有为作业定义重启策略,集群启动时就会遵循默认的重启策略。
+如果提交作业时设置了重启策略,该策略将覆盖掉集群的默认策略。
 
 * This will be replaced by the TOC
 {:toc}
 
-## Overview
+## 概述
 
-The default restart strategy is set via Flink's configuration file 
`flink-conf.yaml`.
-The configuration parameter *restart-strategy* defines which strategy is taken.
-If checkpointing is not enabled, the "no restart" strategy is used.
-If checkpointing is activated and the restart strategy has not been 
configured, the fixed-delay strategy is used with 
-`Integer.MAX_VALUE` restart attempts.
-See the following list of available restart strategies to learn what values 
are supported.
+通过 Flink 的配置文件 `flink-conf.yaml` 来设置默认的重启策略。配置参数 *restart-strategy* 
定义了采取何种策略。如果没有启用checkpoint,就采用“不重启”策略。如果启用了checkpoint且没有配置重启策略,那么就采用固定延时重启策略,此时最大尝试重启次数由
 `Integer.MAX_VALUE`  参数设置。下表列出了可用的重启策略和与其对应的配置值。
 
-Each restart strategy comes with its own set of parameters which control its 
behaviour.
-These values are also set in the configuration file.
-The description of each restart strategy contains more information about the 
respective configuration values.
+每个重启策略都有自己的一组配置参数来控制其行为。
+这些也是在配置文件中设置。
+后文对每个重启策略的描述中详细介绍了它们的配置值。
 
 <table class="table table-bordered">
   <thead>
     <tr>
-      <th class="text-left" style="width: 50%">Restart Strategy</th>
-      <th class="text-left">Value for restart-strategy</th>
+      <th class="text-left" style="width: 50%">重启策略</th>
+      <th class="text-left">restart-strategy 配置值</th>
     </tr>
   </thead>
   <tbody>
     <tr>
-        <td>Fixed delay</td>
+        <td>固定延时重启</td>
 
 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:
[email protected]


With regards,
Apache Git Services

Reply via email to