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/06/24 07:07:06 UTC
[GitHub] [flink] xintongsong opened a new pull request #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
xintongsong opened a new pull request #12761:
URL: https://github.com/apache/flink/pull/12761
This PR updates Chinese translations for memory configuration documents, W.R.T. the new job manager memory configurations.
----------------------------------------------------------------
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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
xintongsong commented on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-650726818
Thanks @KarmaGYZ. I've fixed the typos.
Merging this now.
----------------------------------------------------------------
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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
xintongsong commented on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648718229
Rebased for conflict resolving, wrt 77fd975ce4e282dfeaf2ca3235b0550ffa24b36d
----------------------------------------------------------------
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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648644461
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990",
"triggerID" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"triggerType" : "PUSH"
}, {
"hash" : "5231e75f7bbc13756b825a82ec7394521d75d5ad",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4003",
"triggerID" : "5231e75f7bbc13756b825a82ec7394521d75d5ad",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a773676821de1583bec6b94fb4cec555dd87c6e4 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990)
* 5231e75f7bbc13756b825a82ec7394521d75d5ad Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4003)
<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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648644461
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990",
"triggerID" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"triggerType" : "PUSH"
}, {
"hash" : "5231e75f7bbc13756b825a82ec7394521d75d5ad",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4003",
"triggerID" : "5231e75f7bbc13756b825a82ec7394521d75d5ad",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a773676821de1583bec6b94fb4cec555dd87c6e4 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990)
* 5231e75f7bbc13756b825a82ec7394521d75d5ad Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4003)
<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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648644461
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990",
"triggerID" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a773676821de1583bec6b94fb4cec555dd87c6e4 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990)
<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 closed pull request #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
xintongsong closed pull request #12761:
URL: https://github.com/apache/flink/pull/12761
----------------------------------------------------------------
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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648637485
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 a773676821de1583bec6b94fb4cec555dd87c6e4 (Wed Jun 24 07:09:34 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] flinkbot commented on pull request #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648644461
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a773676821de1583bec6b94fb4cec555dd87c6e4 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 a change in pull request #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
KarmaGYZ commented on a change in pull request #12761:
URL: https://github.com/apache/flink/pull/12761#discussion_r446611025
##########
File path: docs/ops/memory/mem_setup_tm.zh.md
##########
@@ -99,21 +91,90 @@ Flink 会根据默认值或其他配置参数自动调整剩余内存部分的
当同时指定二者时,会优先采用指定的大小(Size)。
若二者均未指定,会根据[默认占比](../config.html#taskmanager-memory-managed-fraction)进行计算。
-请同时参考[如何配置 State Backend 内存](mem_tuning.html#state-backend-的内存配置)以及[如何配置批处理作业内存](mem_tuning.html#批处理作业的内存配置)。
+请同时参考[如何配置 State Backend 内存](mem_tuning.html#configure-memory-for-state-backends)以及[如何配置批处理作业内存](mem_tuning.html#configure-memory-for-batch-jobs)。
+
+<a name="configure-off-heap-memory-direct-or-native" />
## 配置堆外内存(直接内存或本地内存)
用户代码中分配的堆外内存被归为*任务堆外内存(Task Off-heap Memory),可以通过 [`taskmanager.memory.task.off-heap.size`](../config.html#taskmanager-memory-task-off-heap-size) 指定。
-<span class="label label-info">提示</span> 你也可以调整[框架推外内存(Framework Off-heap Memory)](mem_detail.html#框架内存)。
+<span class="label label-info">提示</span>
+你也可以调整[框架推外内存(Framework Off-heap Memory)](#framework-memory)。
Review comment:
```suggestion
你也可以调整[框架堆外内存(Framework Off-heap Memory)](#framework-memory)。
```
##########
File path: docs/ops/memory/mem_setup_tm.zh.md
##########
@@ -99,21 +91,90 @@ Flink 会根据默认值或其他配置参数自动调整剩余内存部分的
当同时指定二者时,会优先采用指定的大小(Size)。
若二者均未指定,会根据[默认占比](../config.html#taskmanager-memory-managed-fraction)进行计算。
-请同时参考[如何配置 State Backend 内存](mem_tuning.html#state-backend-的内存配置)以及[如何配置批处理作业内存](mem_tuning.html#批处理作业的内存配置)。
+请同时参考[如何配置 State Backend 内存](mem_tuning.html#configure-memory-for-state-backends)以及[如何配置批处理作业内存](mem_tuning.html#configure-memory-for-batch-jobs)。
+
+<a name="configure-off-heap-memory-direct-or-native" />
## 配置堆外内存(直接内存或本地内存)
用户代码中分配的堆外内存被归为*任务堆外内存(Task Off-heap Memory),可以通过 [`taskmanager.memory.task.off-heap.size`](../config.html#taskmanager-memory-task-off-heap-size) 指定。
Review comment:
```suggestion
用户代码中分配的堆外内存被归为*任务堆外内存(Task Off-heap Memory)*,可以通过 [`taskmanager.memory.task.off-heap.size`](../config.html#taskmanager-memory-task-off-heap-size) 指定。
```
##########
File path: docs/ops/memory/mem_setup_tm.zh.md
##########
@@ -99,21 +91,90 @@ Flink 会根据默认值或其他配置参数自动调整剩余内存部分的
当同时指定二者时,会优先采用指定的大小(Size)。
若二者均未指定,会根据[默认占比](../config.html#taskmanager-memory-managed-fraction)进行计算。
-请同时参考[如何配置 State Backend 内存](mem_tuning.html#state-backend-的内存配置)以及[如何配置批处理作业内存](mem_tuning.html#批处理作业的内存配置)。
+请同时参考[如何配置 State Backend 内存](mem_tuning.html#configure-memory-for-state-backends)以及[如何配置批处理作业内存](mem_tuning.html#configure-memory-for-batch-jobs)。
+
+<a name="configure-off-heap-memory-direct-or-native" />
## 配置堆外内存(直接内存或本地内存)
用户代码中分配的堆外内存被归为*任务堆外内存(Task Off-heap Memory),可以通过 [`taskmanager.memory.task.off-heap.size`](../config.html#taskmanager-memory-task-off-heap-size) 指定。
-<span class="label label-info">提示</span> 你也可以调整[框架推外内存(Framework Off-heap Memory)](mem_detail.html#框架内存)。
+<span class="label label-info">提示</span>
+你也可以调整[框架推外内存(Framework Off-heap Memory)](#framework-memory)。
这是一个进阶配置,建议仅在确定 Flink 框架需要更多的内存时调整该配置。
-Flink 将*框架堆外内存*和*任务堆外内存*都计算在 JVM 的*直接内存*限制中,请参考 [JVM 参数](mem_detail.html#jvm-参数)。
+Flink 将*框架堆外内存*和*任务堆外内存*都计算在 JVM 的*直接内存*限制中,请参考 [JVM 参数](mem_setup.html#jvm-parameters)。
-<span class="label label-info">提示</span> 本地内存(非直接内存)也可以被归在*框架堆外内存*或*任务推外内存*中,在这种情况下 JVM 的*直接内存*限制可能会高于实际需求。
+<span class="label label-info">提示</span>
+本地内存(非直接内存)也可以被归在*框架堆外内存*或*任务推外内存*中,在这种情况下 JVM 的*直接内存*限制可能会高于实际需求。
Review comment:
```suggestion
本地内存(非直接内存)也可以被归在*框架堆外内存*或*任务堆外内存*中,在这种情况下 JVM 的*直接内存*限制可能会高于实际需求。
```
----------------------------------------------------------------
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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648644461
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990",
"triggerID" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"triggerType" : "PUSH"
}, {
"hash" : "5231e75f7bbc13756b825a82ec7394521d75d5ad",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4003",
"triggerID" : "5231e75f7bbc13756b825a82ec7394521d75d5ad",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 5231e75f7bbc13756b825a82ec7394521d75d5ad Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=4003)
<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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648644461
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990",
"triggerID" : "a773676821de1583bec6b94fb4cec555dd87c6e4",
"triggerType" : "PUSH"
}, {
"hash" : "5231e75f7bbc13756b825a82ec7394521d75d5ad",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "5231e75f7bbc13756b825a82ec7394521d75d5ad",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* a773676821de1583bec6b94fb4cec555dd87c6e4 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=3990)
* 5231e75f7bbc13756b825a82ec7394521d75d5ad 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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
xintongsong commented on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648647066
Thanks for the pointer, @KarmaGYZ.
I'm aware of this discussion. However, I would like to scope this out from this PR.
- The current links are not introduced by this translation effort, but pre-exist in the English docs. We need to modify them for the English docs anyway.
- This translation PR is already quite big and complex.
----------------------------------------------------------------
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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
xintongsong commented on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648636732
cc @KarmaGYZ
----------------------------------------------------------------
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 #12761: [FLINK-17465][doc-zh] Update Chinese translations for memory configuration documents.
Posted by GitBox <gi...@apache.org>.
KarmaGYZ commented on pull request #12761:
URL: https://github.com/apache/flink/pull/12761#issuecomment-648643035
Thanks for the PR. Regarding the links in this doc. Please take a look at the discussion [here](http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/Reminder-Prefer-link-tag-in-documentation-td42362.html).
----------------------------------------------------------------
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