Skip to content
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-27905][runtime] Introduce HsSpillingStrategy and HsSelectiveSpillingStrategy implementation #20100

Closed
wants to merge 2 commits into from
Closed

Conversation

reswqa
Copy link
Member

@reswqa reswqa commented Jun 29, 2022

What is the purpose of the change

Introduce HsSpillingStrategy and Implement HsSelectiveSpillingStrategy to support make a spilling decision for hybrid shuffle.

Brief change log

  • Introduce HsSpillingStrategy interface for all spilling strategy.
  • Introduce HsSelectiveSpillingStrategy to reduce disk writes as much as possible.
  • Introduce HsAllSpillingStrategy to spill all data into disk.

Verifying this change

Covered by HsSelectiveSpillingStrategyTest

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

@flinkbot
Copy link
Collaborator

flinkbot commented Jun 29, 2022

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@reswqa reswqa changed the title [FLINK-27905] Introduce HsSpillingStrategy and HsSelectiveSpillingStrategy implementation [FLINK-27905][runtime] Introduce HsSpillingStrategy and HsSelectiveSpillingStrategy implementation Jun 29, 2022
@reswqa
Copy link
Member Author

reswqa commented Jul 13, 2022

Thanks @xintongsong, I have resolved all comments, PTAL~

reswqa and others added 2 commits July 18, 2022 13:16
…llingStrategy、allSpillingStrategy implementation.
…tiveSpillingStrategy、allSpillingStrategy implementation.
Copy link
Contributor

@xintongsong xintongsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @reswqa. LGTM. I have one minor change, please take a look.

Merging this once AZP gives green light.

JunRuiLee pushed a commit to JunRuiLee/flink that referenced this pull request Jul 20, 2022
…llingStrategy、allSpillingStrategy implementation.

This closes apache#20100
liujiawinds pushed a commit to liujiawinds/flink that referenced this pull request Jul 22, 2022
…llingStrategy、allSpillingStrategy implementation.

This closes apache#20100
huangxiaofeng10047 pushed a commit to huangxiaofeng10047/flink that referenced this pull request Nov 3, 2022
…llingStrategy、allSpillingStrategy implementation.

This closes apache#20100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants