och5351 opened a new pull request, #27826: URL: https://github.com/apache/flink/pull/27826
## What is the purpose of the change * [[FLINK-38901](https://issues.apache.org/jira/browse/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. <img width="1912" height="860" alt="image" src="https://github.com/user-attachments/assets/f05a4c33-ab18-4208-b778-a67753889ac8" /> ## Verifying this change ### Prepared environment ```bash # Prepared 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 # Enabled adaptive scheduler vi ./build-target/conf/config.yaml # Run cluster ./build-target/bin/start-cluster.sh # Prepared node packages cd flink-runtime-web/web-dashboard npm install npm run proxy ``` ### CASE 1. Streaming Job & Adaptive scheduler <img width="664" height="109" alt="image" src="https://github.com/user-attachments/assets/3c7241a3-2a3d-4bfc-8a9f-aef3daec47b6" /> ```bash # 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 ``` <img width="1912" height="860" alt="image" src="https://github.com/user-attachments/assets/f05a4c33-ab18-4208-b778-a67753889ac8" /> ### CASE 2. Batch Job ```bash # Run batch example ./build-target/bin/flink run -t remote -m localhost:8081 ./build-target/examples/table/WordCountSQLExample.jar ``` <img width="1911" height="1010" alt="image" src="https://github.com/user-attachments/assets/cdeab16b-8c52-4ecf-8fe3-75234344647f" /> ### CASE 3. Only Streaming job <img width="648" height="117" alt="image" src="https://github.com/user-attachments/assets/082bf6b5-96db-4402-a60e-124e920a1c91" /> ```bash # Stop cluster ./build-target/stop-cluster.sh # Disabled 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 ``` <img width="1912" height="995" alt="image" src="https://github.com/user-attachments/assets/6f141f35-3d4f-4d60-84ef-b01c7eafe9ed" /> ## 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) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
