Skip to content

[FLINK-39076][Web UI] Display slot sharing group in operator nodes#27593

Open
featzhang wants to merge 2 commits intoapache:masterfrom
featzhang:feature/display-slot-sharing-group-in-ui
Open

[FLINK-39076][Web UI] Display slot sharing group in operator nodes#27593
featzhang wants to merge 2 commits intoapache:masterfrom
featzhang:feature/display-slot-sharing-group-in-ui

Conversation

@featzhang
Copy link
Member

@featzhang featzhang commented Feb 12, 2026

What is the purpose of the change

FLINK-39076

This change adds the ability to display the slot sharing group in operator nodes within the Flink Web UI. The slot sharing group is important for users to understand how operators are sharing slots in the TaskManager.

Brief change log

  • Added slotSharingGroupId field to VerticesItem interface in job-detail.ts
  • Added slotSharingGroupId property to NodeComponent in node.component.ts
  • Display slot sharing group ID in operator node labels in node.component.html
  • The display is conditional - only shown when slotSharingGroupId is available and the node is not pending

Verifying this change

This change can be verified by:

  1. Starting a Flink job with slot sharing groups configured
  2. Opening the Flink Web UI and navigating to the job's DAG view
  3. Confirming that slot sharing group IDs are displayed in the operator nodes

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): no
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
  • The S3 file system connector: no

Documentation

No documentation changes required as this is a UI enhancement.

Checklist

  • The change is a proper bug fix (no).
  • Docs change is needed (no, UI enhancement).
  • Should this commit be backported to the release branches (no, new feature).
  • Links to ASF JIRA: N/A (FLINK-XXXXX placeholder)
  • How to verify this change manually (included in Verifying this change).
  • How to test this change (can be verified by UI interaction).
  • Documentation is needed (no).

- Add slotSharingGroupId field to VerticesItem interface
- Display slot sharing group ID in operator node labels
- Only show when slotSharingGroupId is available and node is not pending
- Add slotSharingGroupName field to JobVertexDetailsInfo in JobDetailsInfo.java
- Pass slot sharing group name from JobDetailsHandler, defaulting to "default" when empty
- Add slotSharingGroupName field to VerticesItem interface in job-detail.ts
- Update NodeComponent to use slotSharingGroupName instead of slotSharingGroupId
- Display slot sharing group name (e.g., "default" or user-defined name) in operator node labels
- Only show when slotSharingGroupName is available and node is not pending
@flinkbot
Copy link
Collaborator

flinkbot commented Feb 12, 2026

CI report:

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

@featzhang featzhang changed the title [FLINK-XXXXX][Web UI] Display slot sharing group ID in operator nodes [FLINK-39076][Web UI] Display slot sharing group ID in operator nodes Feb 12, 2026
@featzhang featzhang changed the title [FLINK-39076][Web UI] Display slot sharing group ID in operator nodes [FLINK-39076][Web UI] Display slot sharing group in operator nodes Feb 12, 2026
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.

2 participants