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 2023/01/09 09:58:00 UTC
[GitHub] [flink] wanglijie95 opened a new pull request, #21626: [FLINK-30604][runtime] Remove the limitation that parallelism decided by adaptive batch scheduler is always a power of two
wanglijie95 opened a new pull request, #21626:
URL: https://github.com/apache/flink/pull/21626
## What is the purpose of the change
In [FLINK-26517](https://issues.apache.org/jira/browse/FLINK-26517), we add a limitation that the parallelism decided by adaptive batch scheduler must be 2^N(for the subpartitions can evenly distribute to downstream tasks). After [FLINK-29666](https://issues.apache.org/jira/browse/FLINK-29666), we can evenly distribute data to downstream tasks, so we can remove the limitation
## Verifying this change
This change is already covered by existing tests
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (**no**)
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (**no**)
- The serializers: (**no**)
- The runtime per-record code paths (performance sensitive): (**no**)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (**no**)
- The S3 file system connector: (**no**)
## Documentation
- Does this pull request introduce a new feature? (**no**)
- If yes, how is the feature documented? ( **not applicable**)
--
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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wanglijie95 closed pull request #21626: [FLINK-30604][runtime] Remove the limitation that parallelism decided by adaptive batch scheduler is always a power of two
Posted by GitBox <gi...@apache.org>.
wanglijie95 closed pull request #21626: [FLINK-30604][runtime] Remove the limitation that parallelism decided by adaptive batch scheduler is always a power of two
URL: https://github.com/apache/flink/pull/21626
--
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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wanglijie95 commented on pull request #21626: [FLINK-30604][runtime] Remove the limitation that parallelism decided by adaptive batch scheduler is always a power of two
Posted by GitBox <gi...@apache.org>.
wanglijie95 commented on PR #21626:
URL: https://github.com/apache/flink/pull/21626#issuecomment-1380365637
@flinkbot run azure
--
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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #21626: [FLINK-30604][runtime] Remove the limitation that parallelism decided by adaptive batch scheduler is always a power of two
Posted by GitBox <gi...@apache.org>.
flinkbot commented on PR #21626:
URL: https://github.com/apache/flink/pull/21626#issuecomment-1375366581
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "c03c583aa2d44afe24cc05b2cc2ae63224837186",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "c03c583aa2d44afe24cc05b2cc2ae63224837186",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* c03c583aa2d44afe24cc05b2cc2ae63224837186 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] zhuzhurk commented on a diff in pull request #21626: [FLINK-30604][runtime] Remove the limitation that parallelism decided by adaptive batch scheduler is always a power of two
Posted by GitBox <gi...@apache.org>.
zhuzhurk commented on code in PR #21626:
URL: https://github.com/apache/flink/pull/21626#discussion_r1066677286
##########
flink-core/src/main/java/org/apache/flink/configuration/JobManagerOptions.java:
##########
@@ -582,14 +578,9 @@ public enum SchedulerType {
.withDescription(
Description.builder()
.text(
- "The average size of data volume to expect each task instance to process if %s has been set to %s. "
- + "Note that since the parallelism of the vertices is adjusted to a power of 2, "
- + "the actual average size will be 0.75~1.5 times this value. "
- + "It is also important to note that when data skew occurs or the decided parallelism reaches the %s (due to too much data), "
Review Comment:
I think this note is still needed.
Maybe with a bit improvement: "It is also important to note that" -> "Note that"
--
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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wanglijie95 commented on pull request #21626: [FLINK-30604][runtime] Remove the limitation that parallelism decided by adaptive batch scheduler is always a power of two
Posted by GitBox <gi...@apache.org>.
wanglijie95 commented on PR #21626:
URL: https://github.com/apache/flink/pull/21626#issuecomment-1379132765
@zhuzhurk Thanks for review. I 've addressed your comment, please take a look.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org