Skip to content

[FLINK-38899][runtime-web] Introduce the Rescales/History sub-page for streaming jobs with the adaptive scheduler enabled#27874

Open
och5351 wants to merge 1 commit intoapache:masterfrom
och5351:FLINK-38899
Open

[FLINK-38899][runtime-web] Introduce the Rescales/History sub-page for streaming jobs with the adaptive scheduler enabled#27874
och5351 wants to merge 1 commit intoapache:masterfrom
och5351:FLINK-38899

Conversation

@och5351
Copy link
Copy Markdown

@och5351 och5351 commented Apr 1, 2026

What is the purpose of the change

  • [FLINK-38899][runtime-web] Introduce the Rescales/History sub-page for streaming jobs with the adaptive scheduler enabled
  • The pr is not blocked by FLIP-495 completion and is independent sub-task in FLIP-487.

Brief change log

Adds the 'Rescales/History' tab and 'HistoryDetail' subpage in relation to [FLINK-38897][Runtime/REST] Introduce /jobs/:jobid/rescales/config endpoint to REST API #27580.

Dependent PRs

Rescales History Tab

image

Rescales HistoryDetail page

image

Verifying this change

Reference
#27826

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
  • The serializers: (yes / no / don't know)
  • The runtime per-record code paths (performance sensitive): (yes / no / don't know)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
  • The S3 file system connector: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot
Copy link
Copy Markdown
Collaborator

flinkbot commented Apr 1, 2026

CI report:

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

@RocMarshal RocMarshal self-assigned this Apr 1, 2026
Copy link
Copy Markdown
Contributor

@RocMarshal RocMarshal left a comment

Choose a reason for hiding this comment

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

Hi, @och5351 Thank you for your hard work.

LGTM on the whole, just a few of comments.
PTAL in your free time :)

@och5351
Copy link
Copy Markdown
Author

och5351 commented Apr 2, 2026

Hi, @RocMarshal !
Could you please review this one more time?

Thank you.

fe05b76

@RocMarshal
Copy link
Copy Markdown
Contributor

I checked UI of the PR locally with #27705.

checked:

  • Refresh button related logic and correctness
  • Rescales page showing logic
  • The table basic information showing logic, like tooltip, table headers, columns...,etc.

LGTM +1 on the whole just a few of issues:

  • highlighted in the Fig.
image image
  • When I click the Rescales/History from Rescales/Configuration page, the new Rescales/History page did not request the /jobs/:jobid/rescales/history interface, We expect that in this case, the corresponding API can be requested again.

Thanks @och5351 for the hard work.
I conducted some manual tests locally and found some minor issues, PTAL next week:)

@och5351
Copy link
Copy Markdown
Author

och5351 commented Apr 6, 2026

I checked UI of the PR locally with #27705.

checked:

  • Refresh button related logic and correctness
  • Rescales page showing logic
  • The table basic information showing logic, like tooltip, table headers, columns...,etc.

LGTM +1 on the whole just a few of issues:

  • highlighted in the Fig.

image image

  • When I click the Rescales/History from Rescales/Configuration page, the new Rescales/History page did not request the /jobs/:jobid/rescales/history interface, We expect that in this case, the corresponding API can be requested again.

Thanks @och5351 for the hard work. I conducted some manual tests locally and found some minor issues, PTAL next week:)

Hi, @RocMarshal !
Thank you for your review.

Could you please review this again?

While waiting

image

Done

image

I have a question: does the Acquired Parallelism and Acquired Slots tab also apply hyphens while waiting?

@RocMarshal
Copy link
Copy Markdown
Contributor

When I click the Rescales/History from Rescales/Configuration page, the new Rescales/History page did not request
the /jobs/:jobid/rescales/history interface, We expect that in this case, the corresponding API can be requested again.

Thanks @och5351 for the quick updated.
I rechecked this scenario, and it doesn’t seem to be taking effect.
I’d like to confirm—does the behavior of the refresh button here follow any reference from other pages?

I have a question: does the Acquired Parallelism and Acquired Slots tab also apply hyphens while waiting?

That's a good catch, reasonable!

Copy link
Copy Markdown
Contributor

@RocMarshal RocMarshal left a comment

Choose a reason for hiding this comment

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

Thanks @och5351 for the update
I'll merge it after the REST API related PRs ready and no more comments from other reviewers.

@och5351
Copy link
Copy Markdown
Author

och5351 commented Apr 7, 2026

Thanks @och5351 for the update I'll merge it after the REST API related PRs ready and no more comments from other reviewers.

Thank you, @RocMarshal!
I will merge all commits into one.

…r streaming jobs with the adaptive scheduler enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants