Skip to content

[FLINK-38901][runtime-web] Introduce the Rescales/Configuration sub-page for streaming jobs with the adaptive scheduler enabled#27826

Open
och5351 wants to merge 2 commits intoapache:masterfrom
och5351:feature/FLINK-38901
Open

[FLINK-38901][runtime-web] Introduce the Rescales/Configuration sub-page for streaming jobs with the adaptive scheduler enabled#27826
och5351 wants to merge 2 commits intoapache:masterfrom
och5351:feature/FLINK-38901

Conversation

@och5351
Copy link

@och5351 och5351 commented Mar 25, 2026

What is the purpose of the change

  • [FLINK-38901][runtime-web] Introduce the Rescales/Configuration 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 'Rescale' tab and 'Configuration' subpage in relation to [FLINK-38897][Runtime/REST] Introduce /jobs/:jobid/rescales/config endpoint to REST API #27580.

image

Verifying this change

Environmental preparation

# Preparing the Flink Environment
./mvnw clean install -DskipTests -pl flink-runtime,flink-dist -am -P skip-webui-build -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

# Enable adaptive scheduler 
vi ./build-target/conf/config.yaml

# Run cluster
./build-target/bin/start-cluster.sh


# Prepare node packages
cd flink-runtime-web/web-dashboard
npm install
npm run proxy 

CASE 1. Streaming Job & Adaptive scheduler

image
# Run socket
nc -lk 9999

# Run streaming example
./build-target/bin/flink run -t remote -m localhost:8081 ./build-target/examples/streaming/SocketWindowWordCount.jar --port 9999
image

CASE 2. Batch Job

# Run batch example
./build-target/bin/flink run -t remote -m localhost:8081 ./build-target/examples/table/WordCountSQLExample.jar
image

CASE 3. Only Streaming job

image
# Stop cluster
./build-target/stop-cluster.sh

# Disable adaptive scheduler
vi ./build-target/conf/config.yaml

# Run cluster
./build-target/start-cluster.sh

# Run streaming example
./build-target/bin/flink run -t remote -m localhost:8081 ./build-target/examples/streaming/SocketWindowWordCount.jar --port 9999
image

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
Collaborator

flinkbot commented Mar 25, 2026

CI report:

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

@och5351
Copy link
Author

och5351 commented Mar 25, 2026

Hi, @RocMarshal!
Would you mind taking a look at this PR if you have time?

Copy link
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.

Good job! @och5351
Left a few of comments. PTAL in your free time.

@och5351 och5351 force-pushed the feature/FLINK-38901 branch 3 times, most recently from e3c665e to 00e4b62 Compare March 26, 2026 00:17
@och5351 och5351 requested a review from RocMarshal March 26, 2026 00:48
@RocMarshal RocMarshal self-assigned this Mar 26, 2026
@och5351 och5351 force-pushed the feature/FLINK-38901 branch 4 times, most recently from a571231 to 973a0ee Compare March 26, 2026 04:56
@och5351 och5351 requested a review from RocMarshal March 26, 2026 05:34
@och5351 och5351 force-pushed the feature/FLINK-38901 branch from 9ef4694 to f96e323 Compare March 26, 2026 06:50
Copy link
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 hard work.
LGTM +1 now.

@och5351 och5351 force-pushed the feature/FLINK-38901 branch 2 times, most recently from 1d1da90 to c82d81e Compare March 26, 2026 14:51
…age for streaming jobs with the adaptive scheduler enabled
@och5351 och5351 force-pushed the feature/FLINK-38901 branch from bb8e5ef to e6813b4 Compare March 26, 2026 14:57
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