Skip to content

Conversation

@eemario
Copy link
Contributor

@eemario eemario commented Dec 3, 2025

What is the purpose of the change

This pull request introduces PackagedProgramApplication to run user-defined main methods as applications, which can replace the functionality of ApplicationDispatcherBootstrap.

Brief change log

  • Implement PackagedProgramApplication that extends AbstractApplication. It runs the user's main method as an application and handles job termination.

Verifying this change

This change added tests and can be verified as follows:

  • Added test that validates the behavior of PackagedProgramApplication

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

@flinkbot
Copy link
Collaborator

flinkbot commented Dec 3, 2025

CI report:

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

@eemario eemario force-pushed the FLIP549-2 branch 2 times, most recently from 378ab9d to 91ef1da Compare December 5, 2025 06:15
@eemario eemario marked this pull request as ready for review December 8, 2025 02:42
@eemario eemario force-pushed the FLIP549-2 branch 3 times, most recently from d28c241 to 7957256 Compare December 17, 2025 11:20
@eemario
Copy link
Contributor Author

eemario commented Dec 18, 2025

@flinkbot run azure

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 4cb44c0 into apache:master Dec 19, 2025
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