Skip to content

Conversation

@eemario
Copy link
Contributor

@eemario eemario commented Dec 23, 2025

What is the purpose of the change

This pull request introduces SingleJobApplication that is used in session mode to run a single job in an application.

Brief change log

  • Add the SingleJobApplication implementation
  • Refactor JarRunHandler and JobSubmitHandler to use SingleJobApplication instead of submitJob directly

Verifying this change

This change added tests and can be verified as follows:

  • Added tests that validate the core interfaces of SingleJobApplication
  • Added tests that validate the Dispatcher's application management behavior
  • Updated integration tests that validate the new behavior of JarRunHandler and JobSubmitHandler
  • Manually verified the change by running a standalone cluster in session mode

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)
  • If yes, how is the feature documented? (not applicable)

@flinkbot
Copy link
Collaborator

flinkbot commented Dec 23, 2025

CI report:

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

@eemario eemario marked this pull request as ready for review December 23, 2025 02:12
@eemario eemario force-pushed the FLIP549-5 branch 4 times, most recently from 61bec4d to 574644c Compare December 26, 2025 05:36
@eemario eemario force-pushed the FLIP549-5 branch 2 times, most recently from 81cfd67 to 1a324cf Compare January 5, 2026 10:05
Copy link
Contributor

@zhuzhurk zhuzhurk left a comment

Choose a reason for hiding this comment

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

LGTM.

@zhuzhurk zhuzhurk merged commit fec9336 into apache:master Jan 7, 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.

3 participants