-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-25033][runtime] Let some scheduler components updatable #18102
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit 5125a3e (Tue Dec 14 09:16:12 UTC 2021) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. 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 Bot commandsThe @flinkbot bot supports the following commands:
|
ConsumerRegionGroupExecutionView regionGroup = | ||
new ConsumerRegionGroupExecutionView(); | ||
this.consumerRegionGroupExecutionViewMaintainer | ||
.notifyNewRegionGroup(regionGroup); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this moment,regionGroup
is a new and empty,call the method notifyNewRegionGroup
does not work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, it's a bug, I fixed it.
df17e67
to
3bb15a5
Compare
114a3c7
to
6ca8ad8
Compare
...ime/src/main/java/org/apache/flink/runtime/scheduler/strategy/SchedulingResultPartition.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/DefaultExecutionGraph.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...apache/flink/runtime/executiongraph/failover/flip1/SchedulingPipelinedRegionComputeUtil.java
Outdated
Show resolved
Hide resolved
...runtime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultResultPartition.java
Outdated
Show resolved
Hide resolved
...runtime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultResultPartition.java
Outdated
Show resolved
Hide resolved
...ime/src/test/java/org/apache/flink/runtime/scheduler/adapter/DefaultResultPartitionTest.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...time/executiongraph/failover/flip1/partitionrelease/RegionPartitionGroupReleaseStrategy.java
Outdated
Show resolved
Hide resolved
...time/executiongraph/failover/flip1/partitionrelease/RegionPartitionGroupReleaseStrategy.java
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/flink/runtime/scheduler/LocalInputPreferredSlotSharingStrategy.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/flink/runtime/scheduler/LocalInputPreferredSlotSharingStrategy.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/flink/runtime/scheduler/LocalInputPreferredSlotSharingStrategy.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/flink/runtime/scheduler/LocalInputPreferredSlotSharingStrategy.java
Outdated
Show resolved
Hide resolved
...test/java/org/apache/flink/runtime/scheduler/LocalInputPreferredSlotSharingStrategyTest.java
Outdated
Show resolved
Hide resolved
6ca8ad8
to
2182c38
Compare
@zhuzhurk Thanks for review. I've addressed all the comments , please help to review it again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing all the comments! @wanglijie95
The change now looks good to me.
…sultPartition/DefaultExecutionVertex.
…nputPreferredSlotSharingStrategy support update.
2182c38
to
9294b67
Compare
Merging. |
…nputPreferredSlotSharingStrategy support update. This closes apache#18102.
What is the purpose of the change
Let some scheduler components updatable, including DefaultExecutionTopology, SchedulingStrategy, PartitionReleaseStrategy and SlotSharingStrategy.
Brief change log
ca75444 DefaultExecutionTopology supports update.
9294b67 RegionPartitionGroupReleaseStrategy and LocalInputPreferredSlotSharingStrategy support update.
Verifying this change
unit tests.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation